summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-12-27 14:27:31 +0000
committerCarl Hetherington <cth@carlh.net>2013-12-27 14:27:31 +0000
commit741af11e934300eef55c1e681653842c60bf564b (patch)
tree88bac0f12bde2825981d8889be6cbdd87e4bbd21 /src
parentdae3687a766966d17aed553dddf27bc2679b7fda (diff)
Do the right thing on closing the window.
Diffstat (limited to 'src')
-rw-r--r--src/tools/dcpomatic.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc
index 72fb56b4f..66f795ddf 100644
--- a/src/tools/dcpomatic.cc
+++ b/src/tools/dcpomatic.cc
@@ -552,6 +552,8 @@ private:
return;
}
+ maybe_save_then_delete_film ();
+
ev.Skip ();
}