VirtualBox

Ignore:
Timestamp:
Jun 9, 2008 3:41:32 PM (17 years ago)
Author:
vboxsync
Message:

VirtualBox GUI: No names with spaces or only a " " is allowed for Shared Folders anymore. Needs to be done in VirtualBox4 and VBoxManage as well. Length check??

File:
1 edited

Legend:

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

    r8778 r9550  
    330330
    331331        mBtOk->setEnabled (!mLePath->text().isEmpty() &&
    332                            !mLeName->text().isEmpty() &&
     332                           !mLeName->text().stripWhiteSpace().isEmpty() &&
     333                           (mLeName->text().contains(" ") == 0) &&
    333334                           !mUsedNames.contains (pair));
    334335    }
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