Solving issue 2324: "Crash when creating detail window" / Credits: Ingo, Hombre
This commit is contained in:
@@ -459,8 +459,12 @@ void CropWindow::buttonRelease (int button, int num, int bstate, int x, int y) {
|
||||
|
||||
if (decorated)
|
||||
buttonSet.releaseNotify (x, y);
|
||||
if (deleted)
|
||||
|
||||
if (deleted) {
|
||||
iarea->flawnOverWindow = NULL;
|
||||
delete this;
|
||||
return;
|
||||
}
|
||||
|
||||
state = SNormal;
|
||||
iarea->grabFocus (NULL);
|
||||
|
Reference in New Issue
Block a user