From 9cc744b1f62aec5cc06378b0c4718add6fe9b1a3 Mon Sep 17 00:00:00 2001 From: Thanatomanic <6567747+Thanatomanic@users.noreply.github.com> Date: Mon, 13 Apr 2020 11:40:28 +0200 Subject: [PATCH] Reset all options in crop. Fixes #5138 and #5045 --- rtgui/crop.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rtgui/crop.cc b/rtgui/crop.cc index f092f07a5..48d1e09af 100644 --- a/rtgui/crop.cc +++ b/rtgui/crop.cc @@ -612,6 +612,11 @@ void Crop::doresetCrop () yDirty = true; wDirty = true; hDirty = true; + + // Reset ratio, ratio lock and orientation as well + ratio->set_active(0); + orientation->set_active(2); + fixr->set_active(true); int X = 0; int Y = 0;