Solving issue 2324: "Crash when creating detail window" / Credits: Ingo, Hombre
This commit is contained in:
@@ -45,7 +45,8 @@ CropHandler::~CropHandler () {
|
||||
|
||||
setEnabled (false);
|
||||
if (crop) {
|
||||
crop->destroy ();
|
||||
//crop->destroy ();
|
||||
delete crop; // will do the same than destroy, plus delete the object
|
||||
crop = NULL;
|
||||
}
|
||||
cimg.lock ();
|
||||
|
Reference in New Issue
Block a user