summaryrefslogtreecommitdiff
path: root/src/wx/film_viewer.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-03-10 23:21:30 +0100
committerCarl Hetherington <cth@carlh.net>2026-03-10 23:21:30 +0100
commit834231bc8e76aea27cc898361e168864301a6450 (patch)
treeed5b97f9f2bc08f4fab7fb8e270bc89f77000ca9 /src/wx/film_viewer.cc
parent88342fb03c20f2e7380a11fd77fef74a4c8b454f (diff)
Fix updating of crop guess rectangle from the auto-crop dialog.
Before the change in the dialog would raise an ImageChanged which would reset the crop again, making it unchangeable.
Diffstat (limited to 'src/wx/film_viewer.cc')
-rw-r--r--src/wx/film_viewer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc
index dbda1d7f1..b01498fc8 100644
--- a/src/wx/film_viewer.cc
+++ b/src/wx/film_viewer.cc
@@ -890,7 +890,7 @@ FilmViewer::set_crop_guess(dcpomatic::Rect<float> crop)
{
if (crop != _crop_guess) {
_crop_guess = crop;
- _video_view->update();
+ _video_view->update_crop_guess();
}
}