From 976263adce6580a0bf73dd1f287848c0cbcd96c2 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 26 Apr 2013 19:53:10 +0100 Subject: Fix update of display on re-order of still content. --- src/wx/film_viewer.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc index 688be3bd0..e742a3e41 100644 --- a/src/wx/film_viewer.cc +++ b/src/wx/film_viewer.cc @@ -118,11 +118,12 @@ FilmViewer::film_changed (Film::Property p) update_from_raw (); break; case Film::CONTENT: + { calculate_sizes (); - get_frame (); - _panel->Refresh (); - _v_sizer->Layout (); + wxScrollEvent ev; + slider_moved (ev); break; + } case Film::WITH_SUBTITLES: case Film::SUBTITLE_OFFSET: case Film::SUBTITLE_SCALE: -- cgit v1.2.3