forked from qt-creator/qt-creator
Editor: Fix crash on switching sessions.
Task-number: QTCREATORBUG-9220 Change-Id: I0671eaa1e9785ee0327bc8cbd4519c5d696ea0ca Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
committed by
Eike Ziller
parent
629c130062
commit
19bfd1bcd4
@@ -2247,7 +2247,8 @@ void EditorManager::removeAllSplits()
|
||||
d->m_splitter->unsplitAll();
|
||||
if (!editor)
|
||||
editor = pickUnusedEditor();
|
||||
activateEditor(editor);
|
||||
if (editor)
|
||||
activateEditor(editor);
|
||||
}
|
||||
|
||||
void EditorManager::gotoOtherSplit()
|
||||
|
||||
Reference in New Issue
Block a user