MAINT-5537 FIXED Advanced Graphics Preferences sliders are incorrect if you click Cancel rather than OK

meow-7.2.2
Mnikolenko ProductEngine 2015-09-11 11:11:28 +03:00
parent 5c7e76ef60
commit 75d3bc4d61
2 changed files with 6 additions and 1 deletions

View File

@ -2572,6 +2572,11 @@ LLFloaterPreferenceProxy::LLFloaterPreferenceProxy(const LLSD& key)
mCommitCallbackRegistrar.add("Proxy.Change", boost::bind(&LLFloaterPreferenceProxy::onChangeSocksSettings, this));
}
void LLFloaterPreferenceGraphicsAdvanced::onOpen(const LLSD& key)
{
refresh();
}
LLFloaterPreferenceProxy::~LLFloaterPreferenceProxy()
{
}

View File

@ -270,7 +270,7 @@ class LLFloaterPreferenceGraphicsAdvanced : public LLFloater
public:
LLFloaterPreferenceGraphicsAdvanced(const LLSD& key);
~LLFloaterPreferenceGraphicsAdvanced();
void onOpen(const LLSD& key);
void disableUnavailableSettings();
void refreshEnabledGraphics();
void refreshEnabledState();