summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorNiranV <NiranV.Dean@googlemail.com>2014-08-15 18:36:30 +0200
committerNiranV <NiranV.Dean@googlemail.com>2014-08-15 18:36:30 +0200
commite11451fc1d543759d397ecaa4cac7b720cc26506 (patch)
tree324d01a90cbb879d3049473792fbe2dd88451e49 /indra/newview
parente8d3a37f91296f1551b53ce5d5c26333fe2e2666 (diff)
STORM-2060: Fixed: Height spinner not being detected as first changed.
Diffstat (limited to 'indra/newview')
-rwxr-xr-xindra/newview/llfloatersnapshot.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/indra/newview/llfloatersnapshot.cpp b/indra/newview/llfloatersnapshot.cpp
index 55dfad37d8..3f9243381c 100755
--- a/indra/newview/llfloatersnapshot.cpp
+++ b/indra/newview/llfloatersnapshot.cpp
@@ -813,7 +813,16 @@ void LLFloaterSnapshot::Impl::updateResolution(LLUICtrl* ctrl, void* data, BOOL
previewp->getSize(width, height);
- updateSpinners(view, previewp, width, height, TRUE); // may change width and height
+ bool width_changed;
+ if(original_width != width)
+ {
+ width_changed = TRUE;
+ }
+ else
+ {
+ width_changed = FALSE;
+ }
+ updateSpinners(view, previewp, width, height, width_changed); // may change width and height
if(getWidthSpinner(view)->getValue().asInteger() != width || getHeightSpinner(view)->getValue().asInteger() != height)
{