diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2022-08-24 07:26:47 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2022-08-24 07:26:47 +0200 |
commit | 6033f6a869787c9869224092df2066b9bf49c826 (patch) | |
tree | a16c6a3f7e8743d1b85df0bac93079bc8883980d | |
parent | 88e86724c396e5212406f4896a31da78c60b9040 (diff) | |
download | nncmpp-6033f6a869787c9869224092df2066b9bf49c826.tar.gz nncmpp-6033f6a869787c9869224092df2066b9bf49c826.tar.xz nncmpp-6033f6a869787c9869224092df2066b9bf49c826.zip |
Notify when actions can't be taken
-rw-r--r-- | nncmpp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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: |