diff options
author | Oz Linden <oz@lindenlab.com> | 2011-11-18 16:32:23 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-11-18 16:32:23 -0500 |
commit | d145cbf37100d50ac6fc15c6009cb496615ed7fb (patch) | |
tree | de664b77132c7c0408b103766501ce86b66a83f2 /indra/newview/llpanelsnapshot.cpp | |
parent | eee556cfbb1bdd0bf35568632a96ce9f18d27262 (diff) | |
parent | 0c36f481f13493801788ef233b96a2bfe5a44060 (diff) |
pull back 3.2.2 beta 2 fixes
Diffstat (limited to 'indra/newview/llpanelsnapshot.cpp')
-rw-r--r-- | indra/newview/llpanelsnapshot.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/newview/llpanelsnapshot.cpp b/indra/newview/llpanelsnapshot.cpp index fdae521ac5..90e32f973f 100644 --- a/indra/newview/llpanelsnapshot.cpp +++ b/indra/newview/llpanelsnapshot.cpp @@ -74,6 +74,16 @@ LLFloaterSnapshot::ESnapshotFormat LLPanelSnapshot::getImageFormat() const return LLFloaterSnapshot::SNAPSHOT_FORMAT_JPEG; } +void LLPanelSnapshot::enableControls(BOOL enable) +{ + setCtrlsEnabled(enable); + if (enable) + { + // Make sure only relevant controls are enabled/shown. + updateCustomResControls(); + } +} + LLSpinCtrl* LLPanelSnapshot::getWidthSpinner() { return getChild<LLSpinCtrl>(getWidthSpinnerName()); |