summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 97a4bd0..7c37e96 100644
--- a/src/main.c
+++ b/src/main.c
@@ -426,6 +426,9 @@ int main(int argc, char *argv[])
426 if (prefs_common.auto_unload_master_password && master_password_active()) { 426 if (prefs_common.auto_unload_master_password && master_password_active()) {
427 debug_print("Auto unloading master password\n"); 427 debug_print("Auto unloading master password\n");
428 unload_master_password(); 428 unload_master_password();
429 /* call this function every 10th minute in case a reload took place */
430 /* TODO: Perhaps a more elegant solution could be developed */
431 g_timeout_add(1000 * 60 * 10, unload_master_password, NULL);
429 } 432 }
430#endif 433#endif
431 434