Fixed a crash on opening crop window (see second of the two issue in #314 for details)
This commit is contained in:
@@ -229,6 +229,7 @@ void ImageArea::unGrabFocus () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void ImageArea::addCropWindow () {
|
void ImageArea::addCropWindow () {
|
||||||
|
if (!mainCropWindow) return; // if called but no image is loaded, it would crash
|
||||||
|
|
||||||
CropWindow* cw = new CropWindow (this, ipc);
|
CropWindow* cw = new CropWindow (this, ipc);
|
||||||
cw->zoom11();
|
cw->zoom11();
|
||||||
|
Reference in New Issue
Block a user