diff options
author | Eike Ziller <eike.ziller@digia.com> | 2014-08-15 10:49:59 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@digia.com> | 2014-08-15 15:33:14 +0200 |
commit | 264df002e62d1c0a3243f7f4bd2b29fa047e60da (patch) | |
tree | ee022292b280a2cfef41ec03802257056e854039 /src/plugins/bazaar | |
parent | 23536e9b426aba67880a9ef19e9c67517e642df0 (diff) | |
download | qt-creator-264df002e62d1c0a3243f7f4bd2b29fa047e60da.tar.gz |
VCS: Make submit editor closing independent from current editor
The VCS plugins keep a reference to the submit editor, so it can
explicitly be closed, instead of relying on the correct currentEditor in
the editor manager.
Change-Id: I14aab63447f790f2065a8d8dc6b50aeacbd1e941
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/bazaar')
-rw-r--r-- | src/plugins/bazaar/bazaarplugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/bazaar/bazaarplugin.cpp b/src/plugins/bazaar/bazaarplugin.cpp index 0cad2b85e9..7368638409 100644 --- a/src/plugins/bazaar/bazaarplugin.cpp +++ b/src/plugins/bazaar/bazaarplugin.cpp @@ -681,7 +681,7 @@ void BazaarPlugin::commitFromEditor() { // Close the submit editor m_submitActionTriggered = true; - EditorManager::closeEditor(); + EditorManager::closeEditor(submitEditor()); } void BazaarPlugin::uncommit() |