forked from qt-creator/qt-creator
VCS: Open diff/blame editors in other split
... if there are other splits that is. Task-number: QTCREATORBUG-11623 Change-Id: Icb3b1c86c39d88e90916079e8ab347574ae9a361 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
committed by
Eike Ziller
parent
f6f8e56cf1
commit
02b3a79c5f
@@ -1122,8 +1122,10 @@ VcsBase::VcsBaseEditorWidget *GitClient::createVcsEditor(
|
||||
QTC_CHECK(!findExistingVCSEditor(registerDynamicProperty, dynamicPropertyValue));
|
||||
|
||||
// Create new, set wait message, set up with source and codec
|
||||
Core::IEditor *outputEditor = Core::EditorManager::openEditorWithContents(id, &title,
|
||||
m_msgWait.toUtf8());
|
||||
Core::IEditor *outputEditor
|
||||
= Core::EditorManager::openEditorWithContents(id, &title, m_msgWait.toUtf8(),
|
||||
(Core::EditorManager::OpenInOtherSplit
|
||||
| Core::EditorManager::NoNewSplits));
|
||||
outputEditor->document()->setProperty(registerDynamicProperty, dynamicPropertyValue);
|
||||
rc = VcsBase::VcsBaseEditorWidget::getVcsBaseEditor(outputEditor);
|
||||
connect(rc, SIGNAL(annotateRevisionRequested(QString,QString,QString,int)),
|
||||
|
||||
Reference in New Issue
Block a user