Fix random behaviour when opening images in SETM and 'Auto zoom to fit the crop area' is enabled, fixes #4357

This commit is contained in:
heckflosse
2018-02-03 12:57:36 +01:00
parent 8bc414948d
commit 3e2e7717b1
5 changed files with 12 additions and 24 deletions

View File

@@ -1068,7 +1068,6 @@ void EditorPanel::open (Thumbnail* tmb, rtengine::InitialImage* isrc)
// since there was no resize event
if (iareapanel->imageArea->mainCropWindow) {
iareapanel->imageArea->mainCropWindow->cropHandler.newImage (ipc, false);
iareapanel->imageArea->mainCropWindow->initialImageArrived();
// In single tab mode, the image is not always updated between switches
// normal redraw don't work, so this is the hard way