diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2014-07-18 08:40:45 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2014-07-18 08:41:45 +0200 |
commit | 58f6ac62aaf38b0122e304a09c2a589743a7e215 (patch) | |
tree | 0d6494e7704901c3f8bca928dab448727c5fd654 /src/io.c | |
parent | d0916ced78738053da54aeb65a48b6d7d2483107 (diff) | |
download | calcurse-58f6ac62aaf38b0122e304a09c2a589743a7e215.zip |
Do not display dialog on periodic save
When periodic save is enabled, do not print the "The data files were
successfully saved" dialog every time io_save_cal() is called.
Reported-by: HÃ¥kan Jerning <jerning@home.se>
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/io.c')
-rw-r--r-- | src/io.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -445,7 +445,8 @@ void io_save_cal(enum save_display display) io_unset_modified(); /* Print a message telling data were saved */ - if (ui_mode == UI_CURSES && conf.system_dialogs) { + if (ui_mode == UI_CURSES && display == IO_SAVE_DISPLAY_BAR && + conf.system_dialogs) { status_mesg(save_success, enter); wgetch(win[KEY].p); } |