Reset all options in crop. Fixes #5138 and #5045

This commit is contained in:
Thanatomanic
2020-04-13 11:40:28 +02:00
parent 1c63d75399
commit 9cc744b1f6

View File

@@ -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;