Need to check against FSInternalSkinCurrent - SkinCurrent will change if the user selects another skin but doesn't restart

meow-7.2.2
Ansariel 2015-04-13 09:36:52 +02:00
parent 5f3b41551a
commit 4e9df6cc8f
2 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ public:
//LLSD params;
//params["people_panel_tab_name"] = "groups_panel";
//LLFloaterSidePanelContainer::showPanel("people", "panel_people", params);
if (gSavedSettings.getBOOL("FSUseV2Friends") && gSavedSettings.getString("SkinCurrent") != "vintage")
if (gSavedSettings.getBOOL("FSUseV2Friends") && gSavedSettings.getString("FSInternalSkinCurrent") != "Vintage")
{
LLSD params;
params["people_panel_tab_name"] = "groups_panel";

View File

@ -4474,7 +4474,7 @@ class LLTogglePanelPeopleTab : public view_listener_t
// <FS:Zi> Open groups and friends lists in communicate floater
// <FS:Lo> Adding an option to still use v2 windows
if(gSavedSettings.getBOOL("FSUseV2Friends") && gSavedSettings.getString("SkinCurrent") != "vintage")
if(gSavedSettings.getBOOL("FSUseV2Friends") && gSavedSettings.getString("FSInternalSkinCurrent") != "Vintage")
{
if ( panel_name == "friends_panel"
|| panel_name == "groups_panel"