VirtualBox

Changeset 34453 in vbox for trunk/src


Ignore:
Timestamp:
Nov 29, 2010 11:21:29 AM (14 years ago)
Author:
vboxsync
Message:

FE/Qt4: dynamically enable/disable the new menu items

File:
1 edited

Legend:

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

    r34420 r34453  
    14171417        /* enable the show log item for the selected vm */
    14181418        mVmShowLogsAction->setEnabled(true);
     1419        /* Enable the shell interaction features. */
     1420        mVmOpenInFileManagerAction->setEnabled(true);
     1421        mVmCreateShortcut->setEnabled(true);
    14191422    }
    14201423    else
     
    14711474        /* disable the show log item for the selected vm */
    14721475        mVmShowLogsAction->setEnabled(false);
     1476        /* Disable the shell interaction features. */
     1477        mVmOpenInFileManagerAction->setEnabled(false);
     1478        mVmCreateShortcut->setEnabled(false);
    14731479    }
    14741480}
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