Fix failure to reset state to "to fit DCP" properly (#2081).
[dcpomatic.git] / src / wx / video_panel.cc
index c7330ef5942565c611ae14fb6457295a7f5739f9..33961ea1dcae72d60ba9ab75c2e89f5d4213b625 100644 (file)
@@ -700,6 +700,7 @@ VideoPanel::scale_fit_clicked ()
 {
        for (auto i: _parent->selected_video()) {
                i->video->set_custom_ratio (optional<float>());
+               i->video->set_custom_size (optional<dcp::Size>());
        }
 }