diff options
author | NiranV <NiranV.Dean@googlemail.com> | 2014-08-15 18:36:30 +0200 |
---|---|---|
committer | NiranV <NiranV.Dean@googlemail.com> | 2014-08-15 18:36:30 +0200 |
commit | e11451fc1d543759d397ecaa4cac7b720cc26506 (patch) | |
tree | 324d01a90cbb879d3049473792fbe2dd88451e49 /indra/newview | |
parent | e8d3a37f91296f1551b53ce5d5c26333fe2e2666 (diff) |
STORM-2060: Fixed: Height spinner not being detected as first changed.
Diffstat (limited to 'indra/newview')
-rwxr-xr-x | indra/newview/llfloatersnapshot.cpp | 11 |
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) { |