VirtualBox

Ignore:
Timestamp:
Jul 3, 2009 10:05:36 AM (16 years ago)
Author:
vboxsync
Message:

FE/Qt: don't consider disabled ports when checking for duplicate parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxVMSettingsSerial.cpp

    r19634 r21189  
    254254            static_cast<VBoxVMSettingsSerial*> (tab);
    255255
     256        if (!page->mGbSerial->isChecked())
     257            continue;
     258
    256259        /* Check the predefined port number unicity */
    257         if (page->mGbSerial->isChecked() && !page->isUserDefined())
     260        if (!page->isUserDefined())
    258261        {
    259262            QString port = page->mCbNumber->currentText();
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