Skip to content
Snippets Groups Projects
Commit 5af3499c authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Fix skin change notification to include color reset

parent db7fed47
No related branches found
No related tags found
No related merge requests found
......@@ -508,5 +508,16 @@
<key>Value</key>
<boolean>0</boolean>
</map>
<key>ResetUserColorsOnLogout</key>
<map>
<key>Comment</key>
<string>Saves an empty color file on login to start fresh on next launch</string>
<key>Persist</key>
<integer>0</integer>
<key>Type</key>
<string>Boolean</string>
<key>Value</key>
<integer>0</integer>
</map>
</map>
</llsd>
......@@ -1921,7 +1921,7 @@ bool LLAppViewer::cleanup()
// save their rects on delete.
gSavedSettings.saveToFile(gSavedSettings.getString("ClientSettingsFile"), TRUE);
LLUIColorTable::instance().saveUserSettings();
LLUIColorTable::instance().saveUserSettings(gSavedSettings.getBool("ResetUserColorsOnLogout"));
// PerAccountSettingsFile should be empty if no user has been logged on.
// *FIX:Mani This should get really saved in a "logoff" mode.
......
......@@ -1607,6 +1607,13 @@ This debug setting change will take effect after you restart [APP_NAME].
name="ChangeSkin"
type="alertmodal">
The new skin will appear after you restart [APP_NAME].
Would you like to reset modified colors back to their defaults?
<tag>confirm</tag>
<usetemplate
canceltext="Cancel"
name="yesnocancelbuttons"
notext="No"
yestext="Yes"/>
</notification>
<notification
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment