Clarify "Save on Exit" tooltip

The old text, "Save modified preferences on exit" suggests that only the
modified preferences are saved. This is not the case: all preferences
are saved at once. This distinction is especially important after having
loaded factory default settings.

As discussed with @campbellbarton and @JulienKaspar.
This commit is contained in:
Sybren A. Stüvel 2019-08-09 14:35:28 +02:00
parent fbc90ae2bf
commit 9deb73df3d
1 changed files with 1 additions and 1 deletions

View File

@ -5820,7 +5820,7 @@ void RNA_def_userdef(BlenderRNA *brna)
/* Preferences Flags */
prop = RNA_def_property(srna, "use_preferences_save", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "pref_flag", USER_PREF_FLAG_SAVE);
RNA_def_property_ui_text(prop, "Save on Exit", "Save modified preferences on exit");
RNA_def_property_ui_text(prop, "Save on Exit", "Save preferences on exit when modified");
prop = RNA_def_property(srna, "is_dirty", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "runtime.is_dirty", 0);