Commit dbef8d21 authored by Eike Ziller's avatar Eike Ziller Committed by David Schulz
Browse files

Fix "open link in other split"

I.e. ctrl+alt+click in the code editor.

Broke with 6a4310a4



Change-Id: I63e8f61f8d6f082773eaf70e427d706000b4d01d
Reviewed-by: default avatarPetar Perisin <petar.perisin@gmail.com>
Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
parent e3fd2525
...@@ -2226,6 +2226,9 @@ void EditorManager::gotoOtherSplit() ...@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment