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