Notify when actions can't be taken
This commit is contained in:
parent
88e86724c3
commit
6033f6a869
2
nncmpp.c
2
nncmpp.c
|
@ -2536,6 +2536,7 @@ app_process_action (enum action action)
|
||||||
app_invalidate ();
|
app_invalidate ();
|
||||||
return true;
|
return true;
|
||||||
default:
|
default:
|
||||||
|
print_error ("can't do that here: %s", g_action_descriptions[action]);
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
case ACTION_MULTISELECT:
|
case ACTION_MULTISELECT:
|
||||||
|
@ -2666,6 +2667,7 @@ app_editor_process_action (enum action action)
|
||||||
g.editor.on_end = NULL;
|
g.editor.on_end = NULL;
|
||||||
return true;
|
return true;
|
||||||
default:
|
default:
|
||||||
|
print_error ("can't do that here: %s", g_action_descriptions[action]);
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
case ACTION_EDITOR_B_CHAR:
|
case ACTION_EDITOR_B_CHAR:
|
||||||
|
|
Loading…
Reference in New Issue