Commit 173ae4d6 authored by mae's avatar mae
Browse files

small fix to removeAllSplits()

parent 5849db08
......@@ -1811,7 +1811,10 @@ void EditorManager::removeCurrentSplit()
void EditorManager::removeAllSplits()
if (!m_d->m_splitter->isSplitter())
IEditor *editor = m_d->m_currentEditor;
m_d->m_currentEditor = 0; // trigger update below
if (editor && m_d->m_editorModel->isDuplicate(editor))
editor = m_d->m_editorModel->originalForDuplicate(editor);
Supports Markdown
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