VirtualBox

Ignore:
Timestamp:
Mar 18, 2009 12:50:36 PM (16 years ago)
Author:
vboxsync
Message:

FE/Qt4: 2869: FE/Qt4: Rework network adapter UI. Win-host has a bug due to the double-click on some tool-button which opens the dialog can lead to make this dialog invisible - so fixing it by preventing the second click (for Details buttons).

File:
1 edited

Legend:

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

    r17987 r18063  
    246246void VBoxVMSettingsNetwork::detailsClicked()
    247247{
     248    /* Lock the button to avoid double-click bug */
     249    mTbDetails->setEnabled (false);
    248250    /* Reload alternate list */
    249251    KNetworkAttachmentType type = attachmentType();
     
    267269    mDetails->exec();
    268270    updateAttachmentInfo();
     271    /* Unlock the previously locked button */
     272    mTbDetails->setEnabled (true);
    269273}
    270274
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