gnucash maint: Bug 742321 - Reset temporary prefs on application startup
Geert Janssens
gjanssens at code.gnucash.org
Tue Nov 10 16:09:42 EST 2015
Updated via https://github.com/Gnucash/gnucash/commit/1a92dad9 (commit)
from https://github.com/Gnucash/gnucash/commit/68f1db9e (commit)
commit 1a92dad9d03091d805c2b199ab13247921a1ba6e
Author: Bill Nottingam <notting at splat.cc>
Date: Thu Nov 5 16:58:00 2015 +0000
Bug 742321 - Reset temporary prefs on application startup
diff --git a/src/bin/gnucash-bin.c b/src/bin/gnucash-bin.c
index 0328d99..c1c74d5 100644
--- a/src/bin/gnucash-bin.c
+++ b/src/bin/gnucash-bin.c
@@ -613,6 +613,8 @@ inner_main (void *closure, int argc, char **argv)
gnc_destroy_splash_screen();
gnc_ui_new_user_dialog();
}
+ /* Ensure temporary preferences are temporary */
+ gnc_prefs_reset_group (GNC_PREFS_GROUP_WARNINGS_TEMP);
gnc_destroy_splash_screen();
gnc_main_window_show_all_windows();
Summary of changes:
src/bin/gnucash-bin.c | 2 ++
1 file changed, 2 insertions(+)
More information about the gnucash-changes
mailing list