summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-03-04 06:43:00 +0000
committerDavid Robillard <d@drobilla.net>2010-03-04 06:43:00 +0000
commitcf0be8c26e61218e23aee691bee6f60ead7fe49a (patch)
tree0528164c6dbcb07b0fc0e831249688414bd267f3 /src
parentc3b76bacaddce404f3bc86ed29e8b18a6861238d (diff)
downloadingen-cf0be8c26e61218e23aee691bee6f60ead7fe49a.tar.gz
ingen-cf0be8c26e61218e23aee691bee6f60ead7fe49a.tar.bz2
ingen-cf0be8c26e61218e23aee691bee6f60ead7fe49a.zip
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
Diffstat (limited to 'src')
-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());