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>
This commit is contained in:
parent
d0916ced78
commit
58f6ac62aa
3
src/io.c
3
src/io.c
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user