When switching to/from offline mode, reset override timers.
[claws.git] / src / mainwindow.c
index ae30619bf6d18243855a88d9df436e60b10443fa..3762981ed370997808240b3c8a3b7743f24816e5 100644 (file)
@@ -4211,6 +4211,8 @@ void main_window_toggle_work_offline (MainWindow *mainwin, gboolean offline,
                online_switch_clicked (GTK_BUTTON(mainwin->offline_switch), mainwin);
        offline_ask_sync = TRUE;
 
+       inc_reset_offline_override_timers();
+
        switching = FALSE;
 }