summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fluid/fluid.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/fluid/fluid.cxx b/fluid/fluid.cxx
index 674703ff6..2cfd8c10a 100644
--- a/fluid/fluid.cxx
+++ b/fluid/fluid.cxx
@@ -1911,6 +1911,7 @@ void update_history(const char *flname) {
if (i) history_item[i-1].flags |= FL_MENU_DIVIDER;
history_item[i].hide();
}
+ fluid_prefs.flush();
}
// ********** portable process class definition **********
@@ -2137,7 +2138,8 @@ void set_filename(const char *c) {
if (filename) free((void *)filename);
filename = c ? strdup(c) : NULL;
- if (filename) update_history(filename);
+ if (filename && !compile_only)
+ update_history(filename);
set_modflag(modflag);
}