diff options
author | con <qtc-committer@nokia.com> | 2011-01-18 17:03:14 +0100 |
---|---|---|
committer | con <qtc-committer@nokia.com> | 2011-01-18 17:03:33 +0100 |
commit | 0a8af1720de2743f0f4896b1d543593c8f9f5ffc (patch) | |
tree | 5e2c34753c213d0e7ed54d464cc4b6bfabbc0d5c /src/plugins/coreplugin/actionmanager/command.cpp | |
parent | bae2cefc45dc51e6680c5a36bef28f9c5cfffad4 (diff) | |
download | qt-creator-0a8af1720de2743f0f4896b1d543593c8f9f5ffc.tar.gz |
Another little fix for delayed registering actions.
Make them be correctly updated regarding to current context.
Diffstat (limited to 'src/plugins/coreplugin/actionmanager/command.cpp')
-rw-r--r-- | src/plugins/coreplugin/actionmanager/command.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/coreplugin/actionmanager/command.cpp b/src/plugins/coreplugin/actionmanager/command.cpp index e8ac5d3ed6..e19e89e255 100644 --- a/src/plugins/coreplugin/actionmanager/command.cpp +++ b/src/plugins/coreplugin/actionmanager/command.cpp @@ -468,6 +468,7 @@ void Action::addOverrideAction(QAction *action, const Core::Context &context, bo } } m_scriptableMap[action] = scriptable; + setCurrentContext(m_context); } void Action::removeOverrideAction(QAction *action) |