Notify when actions can't be taken

This commit is contained in:
Přemysl Eric Janouch 2022-08-24 07:26:47 +02:00
parent 88e86724c3
commit 6033f6a869
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 2 additions and 0 deletions

View File

@ -2536,6 +2536,7 @@ app_process_action (enum action action)
app_invalidate ();
return true;
default:
print_error ("can't do that here: %s", g_action_descriptions[action]);
return false;
case ACTION_MULTISELECT:
@ -2666,6 +2667,7 @@ app_editor_process_action (enum action action)
g.editor.on_end = NULL;
return true;
default:
print_error ("can't do that here: %s", g_action_descriptions[action]);
return false;
case ACTION_EDITOR_B_CHAR: