summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-05-14 22:35:08 +0100
committerCarl Hetherington <cth@carlh.net>2014-05-14 22:35:08 +0100
commit58fa4e1b30491ee0438eec9b2e6a1d170c958f77 (patch)
treee588fe566c1c2296e1bb39280e7b25298cafebab /src
parentefc8654faceec410649901ee534861904d11e432 (diff)
Fix assertion failure on cancelling a File->Exit.
Diffstat (limited to 'src')
-rw-r--r--src/tools/dcpomatic.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc
index 1abd25198..28074a4ba 100644
--- a/src/tools/dcpomatic.cc
+++ b/src/tools/dcpomatic.cc
@@ -457,7 +457,8 @@ private:
void file_exit ()
{
- Close (true);
+ /* false here allows the close handler to veto the close request */
+ Close (false);
}
void edit_preferences ()