summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorNiranV <NiranV.Dean@googlemail.com>2014-08-08 20:54:01 +0200
committerNiranV <NiranV.Dean@googlemail.com>2014-08-08 20:54:01 +0200
commitedc1a4efd379d64b2cfda0401800b9ebd0cbb54e (patch)
treee0cd42db54e71c7816cf7caec361c74067c93797 /indra/newview
parentade715c7ea6f722cc7448c80f8a7689a171c60c8 (diff)
STORM-2060: Fixed: Width/Height spinners resetting every time type a custom value while 'custom' is not set in the resolution dropdown.
Diffstat (limited to 'indra/newview')
-rwxr-xr-xindra/newview/llfloatersnapshot.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/indra/newview/llfloatersnapshot.cpp b/indra/newview/llfloatersnapshot.cpp
index 97dcae8591..beb06c4162 100755
--- a/indra/newview/llfloatersnapshot.cpp
+++ b/indra/newview/llfloatersnapshot.cpp
@@ -965,16 +965,14 @@ void LLFloaterSnapshot::Impl::applyCustomResolution(LLFloaterSnapshot* view, S32
previewp->setSize(w,h);
checkAutoSnapshot(previewp, FALSE);
- LL_DEBUGS() << "applied custom resolution, updating thumbnail" << LL_ENDL;
- previewp->updateSnapshot(TRUE);
comboSetCustom(view, "profile_size_combo");
comboSetCustom(view, "postcard_size_combo");
comboSetCustom(view, "texture_size_combo");
comboSetCustom(view, "local_size_combo");
+ LL_DEBUGS() << "applied custom resolution, updating thumbnail" << LL_ENDL;
+ previewp->updateSnapshot(TRUE);
}
}
-
- updateControls(view);
}
// static