summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-09-19 22:19:58 +0200
committerCarl Hetherington <cth@carlh.net>2021-09-19 23:00:22 +0200
commit0b34912d35e5a64a23b89055257d898f245ea6db (patch)
tree8dc76a066623562e2d54e87f61e1aeb4742ce865
parent8a3d5a7729e10a901132ff00efbd5d80e38b2455 (diff)
Fix failure to reset state to "to fit DCP" properly (#2081).
-rw-r--r--src/wx/video_panel.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wx/video_panel.cc b/src/wx/video_panel.cc
index c7330ef59..33961ea1d 100644
--- a/src/wx/video_panel.cc
+++ b/src/wx/video_panel.cc
@@ -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>());
}
}