Fix typo and missing serialisation of offsets at time of analysis.
[dcpomatic.git] / src / wx / controls.cc
index 0c12ba4634cd06c69a6bd2a095883fd842deb70a..ec6d4ff4c523435b68ba9df23678a9fc8f4b313c 100644 (file)
@@ -170,7 +170,7 @@ Controls::stopped ()
 void
 Controls::update_position ()
 {
-       if (!_slider_being_moved) {
+       if (!_slider_being_moved && !_viewer->pending_idle_get()) {
                update_position_label ();
                update_position_slider ();
        }
@@ -406,3 +406,11 @@ Controls::film_change (ChangeType type, Film::Property p)
                }
        }
 }
+
+void
+Controls::seek (int slider)
+{
+       _slider->SetValue (slider);
+       slider_moved (false);
+       slider_released ();
+}