projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9211210
)
Fix content selection update on new film.
author
Carl Hetherington
<cth@carlh.net>
Wed, 24 Jul 2013 22:11:31 +0000
(23:11 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 24 Jul 2013 22:11:31 +0000
(23:11 +0100)
src/wx/film_editor.cc
patch
|
blob
|
history
diff --git
a/src/wx/film_editor.cc
b/src/wx/film_editor.cc
index 74cb295bf4efd3f7dc6539d473c456ba4c1f85c0..5839244a4be98e5ddb9d66bd60d26a4f44d4c689 100644
(file)
--- a/
src/wx/film_editor.cc
+++ b/
src/wx/film_editor.cc
@@
-497,8
+497,6
@@
FilmEditor::set_film (shared_ptr<Film> f)
{
set_general_sensitivity (f != 0);
- content_selection_changed ();
-
if (_film == f) {
return;
}
@@
-533,6
+531,8
@@
FilmEditor::set_film (shared_ptr<Film> f)
if (!_film->content().empty ()) {
set_selection (_film->content().front ());
+ } else {
+ content_selection_changed ();
}
}