From cf0be8c26e61218e23aee691bee6f60ead7fe49a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 4 Mar 2010 06:43:00 +0000 Subject: Fix Cancel button of quit confirmation dialog (don't hide the last patch window on Cancel). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2516 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/WindowFactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- cgit v1.2.1