Skip to content
Snippets Groups Projects
Commit 50e45b76 authored by mae's avatar mae
Browse files

Ignore hidden actions for the dummy shortcut eater

Reviewed-by: con
parent 165d25f0
No related branches found
No related tags found
No related merge requests found
......@@ -529,7 +529,7 @@ void OverrideableAction::actionChanged()
m_action->setVisible(m_currentAction->isVisible());
m_dummyShortcutEater.setShortcuts(m_action->shortcuts());
m_dummyShortcutEater.setEnabled(!m_action->isEnabled());
m_dummyShortcutEater.setEnabled(m_action->isVisible() && !m_action->isEnabled());
}
bool OverrideableAction::isActive() const
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment