VirtualBox

Changeset 61095 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
May 20, 2016 1:02:20 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
107370
Message:

FE/Qt: ​​​​​​​​​​bugref:7462: Action-pool: Make no assumption about action's availability on the basis of it's current visibility, it can be invalidated.

File:
1 edited

Legend:

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

    r60362 r61095  
    10881088        /* Get the hot-key of the current action: */
    10891089        const QString strHotKey = gShortcutPool->shortcut(this, pAction).toString();
    1090         if (pAction->isEnabled() && pAction->isVisible() && !strHotKey.isEmpty())
     1090        if (pAction->isEnabled() && pAction->isAllowed() && !strHotKey.isEmpty())
    10911091        {
    10921092            if (key.matches(QKeySequence(strHotKey)) == QKeySequence::ExactMatch)
Note: See TracChangeset for help on using the changeset viewer.

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