forked from qt-creator/qt-creator
Fix "open link in other split"
I.e. ctrl+alt+click in the code editor.
Broke with 6a4310a44a
Change-Id: I63e8f61f8d6f082773eaf70e427d706000b4d01d
Reviewed-by: Petar Perisin <petar.perisin@gmail.com>
Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
committed by
David Schulz
parent
e3fd25256d
commit
dbef8d21af
@@ -2226,6 +2226,9 @@ void EditorManager::gotoOtherSplit()
|
|||||||
splitSideBySide();
|
splitSideBySide();
|
||||||
|
|
||||||
SplitterOrView *view = currentSplitterOrView();
|
SplitterOrView *view = currentSplitterOrView();
|
||||||
|
view = d->m_splitter->findNextView(view);
|
||||||
|
if (!view)
|
||||||
|
view = d->m_splitter->findFirstView();
|
||||||
if (view) {
|
if (view) {
|
||||||
if (IEditor *editor = view->editor()) {
|
if (IEditor *editor = view->editor()) {
|
||||||
setCurrentEditor(editor, true);
|
setCurrentEditor(editor, true);
|
||||||
|
Reference in New Issue
Block a user