small tweak to the "zoom to fit crop" functionality

This commit is contained in:
Alberto Griggio
2018-01-04 09:29:53 +01:00
parent 6591551a7c
commit a43886032f

View File

@@ -638,7 +638,7 @@ void ImageArea::initialImageArrived (CropWindow* cw)
if (mainCropWindow) {
if(firstOpen || options.prevdemo != PD_Sidecar || (!options.rememberZoomAndPan) ) {
if (options.cropAutoFit) {
if (options.cropAutoFit || options.bgcolor != 0) {
mainCropWindow->zoomFitCrop();
} else {
mainCropWindow->zoomFit();