VirtualBox

Changeset 1517 in vbox for trunk


Ignore:
Timestamp:
Mar 15, 2007 4:26:11 PM (18 years ago)
Author:
vboxsync
Message:

FE/Qt: Don't allow characters [a-f] on input when these characters are not allowed in the network adapter.

Location:
trunk/src/VBox/Frontends/VirtualBox/ui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMNetworkSettings.ui

    r1062 r1517  
    146146                                    </property>
    147147                                    <property name="whatsThis" stdset="0">
    148                                         <string>MAC address of the current adapter</string>
     148                                        <string>MAC address of the current adapter. It contains exactly 12 characters choosen from {0-9,A-F}.</string>
    149149                                    </property>
    150150                                </widget>
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMNetworkSettings.ui.h

    r1062 r1517  
    3535     * -------------------------------------------------------------------- */
    3636
    37     leMACAddress->setValidator (new QRegExpValidator (QRegExp ("[0-9,A-F,a-f]{12,12}"), this));
     37    leMACAddress->setValidator (new QRegExpValidator (QRegExp ("[0-9,A-F]{12,12}"), this));
    3838
    3939#if defined Q_WS_X11
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette