Fix some more problems in MEOW mode, #3957

This commit is contained in:
heckflosse
2017-07-16 18:00:43 +02:00
parent cfa7e335fa
commit 164c577b24
5 changed files with 83 additions and 29 deletions

View File

@@ -601,7 +601,7 @@ bool RTWindow::on_delete_event(GdkEventAny* event)
if (isSingleTabMode() || simpleEditor) {
isProcessing = epanel->getIsProcessing();
} else if (options.multiDisplayMode > 0) {
editWindow = EditWindow::getInstance(this);
editWindow = EditWindow::getInstance(this, false);
if (editWindow->isProcessing ()) {
return true;
@@ -634,7 +634,8 @@ bool RTWindow::on_delete_event(GdkEventAny* event)
}
else {
if (options.multiDisplayMode > 0) {
editWindow->closeOpenEditors ();
editWindow->closeOpenEditors();
editWindow->writeOptions();
}
// Storing the options of the last EditorPanel before Gtk destroys everything
// Look at the active panel first, if any, otherwise look at the first one (sorted on the filename)