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:
Lasse Holmstedt
2010-04-09 10:03:04 +02:00
parent 06549b72a1
commit 043164b431
2 changed files with 6 additions and 5 deletions

View File

@@ -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);
}
}