summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/WindowFactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/WindowFactory.cpp b/src/gui/WindowFactory.cpp
index fdc2f029..9bb3febf 100644
--- a/src/gui/WindowFactory.cpp
+++ b/src/gui/WindowFactory.cpp
@@ -181,7 +181,7 @@ bool
WindowFactory::remove_patch_window(PatchWindow* win, GdkEventAny* ignored)
{
if (_patch_windows.size() <= 1)
- return App::instance().quit(*win);
+ return !App::instance().quit(*win);
PatchWindowMap::iterator w = _patch_windows.find(win->patch()->path());