Remove hidden SETM Editor in METM to save memory and handles, fixes #3944

This commit is contained in:
heckflosse
2017-06-29 19:52:09 +02:00
parent 5f97800e69
commit 3281332b8e
3 changed files with 49 additions and 37 deletions

View File

@@ -2333,17 +2333,7 @@ void Preferences::workflowUpdate ()
{
if(moptions.tabbedUI != options.tabbedUI) {
parent->MoveFileBrowserToMain();
parent->CloseOpenEditors();
parent->SetMainCurrent();
if(moptions.tabbedUI) {
parent->epanel->hide();
parent->set_title_decorated("");
} else {
parent->epanel->show_all();
parent->set_title_decorated(parent->epanel->getFileName());
}
parent->setEditorMode(moptions.tabbedUI);
}
if(moptions.hideTPVScrollbar != options.hideTPVScrollbar) {