Prevent a crash when signature parameters are incorrect.

"About ecode" close with escape (SpartanJ/ecode#873).
This commit is contained in:
Martín Lucas Golini
2026-04-08 15:51:35 -03:00
parent f72b1c2f13
commit 57929621df
5 changed files with 23 additions and 8 deletions

View File

@@ -131,6 +131,7 @@ void SettingsActions::aboutEcode() {
image->setSize( { 128, 128 } );
image->toBack();
msgBox->setTitle( i18n( "about_ecode", "About ecode..." ) );
msgBox->setCloseShortcut( { KEY_ESCAPE, 0 } );
msgBox->showWhenReady();
}