mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-20 14:54:31 +01:00
Merge pull request #8349 from facchinm/fix_regression_save_on_close
Remove last editor window after saving its properties
This commit is contained in:
commit
778866ac4e
@ -932,9 +932,10 @@ public class Base {
|
||||
}
|
||||
|
||||
if (editors.size() == 1) {
|
||||
handleQuit();
|
||||
// Everything called after handleQuit will only affect OSX
|
||||
editor.setVisible(false);
|
||||
editors.remove(editor);
|
||||
handleQuit();
|
||||
} else {
|
||||
// More than one editor window open,
|
||||
// proceed with closing the current window.
|
||||
|
Loading…
x
Reference in New Issue
Block a user