summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatermediasettings.h
diff options
context:
space:
mode:
authorRick Pasetto <rick@lindenlab.com>2009-12-16 11:16:41 -0800
committerRick Pasetto <rick@lindenlab.com>2009-12-16 11:16:41 -0800
commitaee5dc617242a1cb9d800b6d546798efdca7cd87 (patch)
tree2fe2540718d561cdfe36781a1a237ce5d99734f8 /indra/newview/llfloatermediasettings.h
parent52ab75d1e59241d00a99618d8ce8f447b09de29d (diff)
Enable OK button in media settings panel even if nothing is changed, but have it be a no-op
Review #63 This change addresses an issue where the OK button was greyed out even if nothing was different (changed) in the medias settings floater. This originally was implemented so that no "empty media" data would accidentally get added to the object. But that was confusing (the OK button should never be greyed out). This changes it so that apply() will simply be a no-op if the data has not changed, and now the OK button is always enabled.
Diffstat (limited to 'indra/newview/llfloatermediasettings.h')
-rw-r--r--indra/newview/llfloatermediasettings.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloatermediasettings.h b/indra/newview/llfloatermediasettings.h
index b72e3d855d..cdfd5aa8ae 100644
--- a/indra/newview/llfloatermediasettings.h
+++ b/indra/newview/llfloatermediasettings.h
@@ -85,7 +85,7 @@ protected:
private:
- void enableOkApplyBtns( bool enable );
+ bool haveValuesChanged() const;
LLSD mInitialValues;
bool mWaitingToClose;