forked from qt-creator/qt-creator
Fix for closing splitters when editors are opened before split
Now, ctrl+w closes all editors, as does "X" button in the toolbar. Reviewed-by: mae
This commit is contained in:
@@ -177,7 +177,6 @@ void EditorToolBar::closeView()
|
||||
if (m_isStandalone) {
|
||||
EditorManager *em = ICore::instance()->editorManager();
|
||||
if (IEditor *editor = currentEditor()) {
|
||||
//em->closeDuplicate(editor);
|
||||
em->closeEditor(editor);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user