diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-08-23 10:25:21 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-08-23 10:25:21 +0100 |
| commit | c543f2a87e037fa6cd6e89b1eb82d22a47a8b43a (patch) | |
| tree | dc0f5e755ae6164515be622101df847fe03a592a /src | |
| parent | 5aa057f73c9b5d0f2a4a1479bd75dee849250265 (diff) | |
Correctly update when there is no selected DCP track.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/text_panel.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/text_panel.cc b/src/wx/text_panel.cc index ef604f787..9922f4e70 100644 --- 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) { |
