projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5aa057f
)
Correctly update when there is no selected DCP track.
author
Carl Hetherington
<cth@carlh.net>
Thu, 23 Aug 2018 09:25:21 +0000
(10:25 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 23 Aug 2018 09:25:21 +0000
(10:25 +0100)
src/wx/text_panel.cc
patch
|
blob
|
history
diff --git
a/src/wx/text_panel.cc
b/src/wx/text_panel.cc
index ef604f787579671e6a5853c40197b1ed7b1d636f..9922f4e7025c673da754a12bc215c739e0272263 100644
(file)
--- a/
src/wx/text_panel.cc
+++ b/
src/wx/text_panel.cc
@@
-210,7
+210,7
@@
TextPanel::update_dcp_track_selection ()
++n;
}
- if (many) {
+ if (
!selected ||
many) {
_dcp_track->SetSelection (wxNOT_FOUND);
}
}
@@
-325,6
+325,7
@@
TextPanel::film_content_changed (int property)
_type->SetSelection (0);
}
setup_sensitivity ();
+ update_dcp_track_selection ();
} else if (property == TextContentProperty::BURN) {
checked_set (_burn, text ? text->burn() : false);
} else if (property == TextContentProperty::X_OFFSET) {