tweak save

This commit is contained in:
mwalker33
2020-04-13 16:17:57 +10:00
parent 0cc2bda952
commit 3b4f851d2d
4 changed files with 27 additions and 7 deletions

View File

@@ -949,7 +949,8 @@ int main(int argc, char *argv[]) {
}
#ifdef USE_PREFERENCE_FILE
preferences_save ();
if (session.window_changed) // Plot/Overlay moved or resized
preferences_save ();
#endif
exit(EXIT_SUCCESS);
}