forked from qt-creator/qt-creator
Another little fix for delayed registering actions.
Make them be correctly updated regarding to current context.
This commit is contained in:
@@ -372,6 +372,7 @@ Action *ActionManagerPrivate::overridableAction(const Id &id)
|
||||
m_mainWnd->addAction(a->action());
|
||||
a->action()->setObjectName(id);
|
||||
a->action()->setShortcutContext(Qt::ApplicationShortcut);
|
||||
a->setCurrentContext(m_context);
|
||||
}
|
||||
|
||||
return a;
|
||||
|
||||
Reference in New Issue
Block a user