Crash when moving crop window using SHIFT+Mouse, fixes #6290
This commit is contained in:
@@ -764,7 +764,7 @@ bool RTWindow::keyPressed (GdkEventKey* event)
|
||||
|
||||
bool RTWindow::keyReleased(GdkEventKey *event)
|
||||
{
|
||||
if (mainNB->get_current_page() == mainNB->page_num(*fpanel)) {
|
||||
if (fpanel && mainNB->get_current_page() == mainNB->page_num(*fpanel)) {
|
||||
return fpanel->handleShortcutKeyRelease(event);
|
||||
}
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user