OSDN Git Service
(root)
/
qt-creator-jp
/
qt-creator-jp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
827800c
)
Git: Bring iexisting editors to foreground
author
Tobias Hunger
<tobias.hunger@nokia.com>
Thu, 9 Dec 2010 15:37:37 +0000
(16:37 +0100)
committer
Tobias Hunger
<tobias.hunger@nokia.com>
Thu, 9 Dec 2010 15:41:34 +0000
(16:41 +0100)
If we have some git operation in an editor already: Bring that to
the foreground.
src/plugins/git/gitclient.cpp
patch
|
blob
|
history
diff --git
a/src/plugins/git/gitclient.cpp
b/src/plugins/git/gitclient.cpp
index
09a3b50
..
30f8ec8
100644
(file)
--- a/
src/plugins/git/gitclient.cpp
+++ b/
src/plugins/git/gitclient.cpp
@@
-431,7
+431,8
@@
VCSBase::VCSBaseEditor *GitClient::findExistingVCSEditor(const char *registerDyn
if (!outputEditor)
return 0;
- // Exists already
+ // Exists already
+ Core::EditorManager::instance()->activateEditor(outputEditor, Core::EditorManager::ModeSwitch);
outputEditor->createNew(m_msgWait);
rc = VCSBase::VCSBaseEditor::getVcsBaseEditor(outputEditor);