Notify when actions can't be taken

This commit is contained in:
2022-08-24 07:26:47 +02:00
parent 88e86724c3
commit 6033f6a869

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: