diff options
| author | Carl Hetherington <cth@carlh.net> | 2026-03-10 23:21:30 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2026-03-10 23:21:30 +0100 |
| commit | 834231bc8e76aea27cc898361e168864301a6450 (patch) | |
| tree | ed5b97f9f2bc08f4fab7fb8e270bc89f77000ca9 /src/wx/simple_video_view.cc | |
| parent | 88342fb03c20f2e7380a11fd77fef74a4c8b454f (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/simple_video_view.cc')
| -rw-r--r-- | src/wx/simple_video_view.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/wx/simple_video_view.cc b/src/wx/simple_video_view.cc index 2d2cbb3b6..7953e89b0 100644 --- a/src/wx/simple_video_view.cc +++ b/src/wx/simple_video_view.cc @@ -214,6 +214,13 @@ SimpleVideoView::display_next_frame(bool non_blocking) void +SimpleVideoView::update_crop_guess() +{ + refresh_panel(); +} + + +void SimpleVideoView::update() { if (!player_video().first) { |
