Commit 50e45b76 authored by mae's avatar mae
Browse files

Ignore hidden actions for the dummy shortcut eater

Reviewed-by: con
parent 165d25f0
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment