Update reels markers properly.
authorCarl Hetherington <cth@carlh.net>
Sun, 12 Aug 2018 21:38:12 +0000 (22:38 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 12 Aug 2018 21:38:12 +0000 (22:38 +0100)
src/wx/timeline.cc

index a8c1578336d1d8224718fc8bc69466da8b262bf3..02f8be0597637b77b4fad5ab64aa525c3e691994 100644 (file)
@@ -249,6 +249,8 @@ Timeline::film_content_changed (int property, bool frequent)
 
        if (property == AudioContentProperty::STREAMS) {
                recreate_views ();
+       } else if (property == ContentProperty::POSITION || property == ContentProperty::LENGTH) {
+               _reels_view->force_redraw ();
        } else if (!frequent) {
                setup_scrollbars ();
                Refresh ();