Add Esc shortcut to close menu

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
feat/minor-improvements
Mavridis Philippe 1 year ago
parent 56af33c560
commit 30cc7c2464
No known key found for this signature in database
GPG Key ID: 93F66F98F906147D

@ -375,9 +375,11 @@ bool MenuHandler::eventFilter( TQObject *o, TQEvent * e )
break;
}
case TQt::Key_Escape:
close();
default:
return false;
break;
}
return true;
}

Loading…
Cancel
Save