projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0957fd
)
Fix another crash on close.
author
Carl Hetherington
<cth@carlh.net>
Thu, 10 Jan 2019 22:12:57 +0000
(22:12 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 10 Jan 2019 22:12:57 +0000
(22:12 +0000)
src/wx/content_panel.cc
patch
|
blob
|
history
diff --git
a/src/wx/content_panel.cc
b/src/wx/content_panel.cc
index 318a344f2a415216bfbb91a24f9d9f94e7818121..b9d682e4d9c2008874c8430dd006f4402e4f2a6d 100644
(file)
--- a/
src/wx/content_panel.cc
+++ b/
src/wx/content_panel.cc
@@
-589,7
+589,11
@@
ContentPanel::set_film (shared_ptr<Film> film)
film_changed (Film::CONTENT);
film_changed (Film::AUDIO_CHANNELS);
- check_selection ();
+
+ if (_film) {
+ check_selection ();
+ }
+
setup_sensitivity ();
}