diff options
Diffstat (limited to 'src/gui/GraphBox.cpp')
-rw-r--r-- | src/gui/GraphBox.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gui/GraphBox.cpp b/src/gui/GraphBox.cpp index 9c100f93..901b47bd 100644 --- a/src/gui/GraphBox.cpp +++ b/src/gui/GraphBox.cpp @@ -678,11 +678,7 @@ void GraphBox::event_close() { if (_window) { - if (_app->window_factory()->num_open_graph_windows() == 1) { - _app->quit(_window); - } else { - _app->window_factory()->remove_graph_window(_window); - } + _app->window_factory()->remove_graph_window(_window); } } |