diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/confwin.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/confwin.c b/src/ui/confwin.c index 80937f7d..9791e5cf 100644 --- a/src/ui/confwin.c +++ b/src/ui/confwin.c @@ -97,7 +97,9 @@ confwin_handle_configuration(ProfConfWin *confwin, DataForm *form) confwin_show_form(confwin); win_println(window, THEME_DEFAULT, '-', ""); - win_println(window, THEME_DEFAULT, '-', "Use '/form submit' to save changes."); + if (confwin->submit != NULL) { + win_println(window, THEME_DEFAULT, '-', "Use '/form submit' to save changes."); + } win_println(window, THEME_DEFAULT, '-', "Use '/form cancel' to cancel changes."); win_println(window, THEME_DEFAULT, '-', "See '/form help' for more information."); win_println(window, THEME_DEFAULT, '-', ""); |