projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
095c02b
)
Fix crash on close.
v2.13.50
author
Carl Hetherington
<cth@carlh.net>
Wed, 19 Sep 2018 00:35:48 +0000
(
01:35
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 19 Sep 2018 00:35:48 +0000
(
01:35
+0100)
src/wx/controls.cc
patch
|
blob
|
history
diff --git
a/src/wx/controls.cc
b/src/wx/controls.cc
index feef2e91c53c87862abe0f9ff8baec2536a3c4ea..c48628ed1244a37c4abe70c682d34b9c76267dea 100644
(file)
--- a/
src/wx/controls.cc
+++ b/
src/wx/controls.cc
@@
-365,7
+365,9
@@
Controls::film_changed ()
update_position_slider ();
update_position_label ();
- _film->Change.connect (boost::bind (&Controls::film_change, this, _1, _2));
+ if (_film) {
+ _film->Change.connect (boost::bind (&Controls::film_change, this, _1, _2));
+ }
}
shared_ptr<Film>