STORM-2040: Fixed: Width and Height spinners always reverting to previous values when entering a custom value while anything else than "Custom" is selected in the size dropdown.

Do NOT. Ever. Change. Our. Resolution. Again. Unless we ask you to with the proper dropdown entries.
meow-7.2.2
NiranV 2014-07-30 06:19:16 +02:00
parent 62e1ac887a
commit 858e2159b9
1 changed files with 0 additions and 2 deletions

View File

@ -967,8 +967,6 @@ void LLFloaterSnapshot::Impl::applyCustomResolution(LLFloaterSnapshot* view, S32
//if to upload a snapshot, process spinner input in a special way.
previewp->setMaxImageSize((S32) getWidthSpinner(view)->getMaxValue()) ;
updateSpinners(view, previewp, w, h, w != curw); // may change w and h
previewp->setSize(w,h);
checkAutoSnapshot(previewp, FALSE);
LL_DEBUGS() << "applied custom resolution, updating thumbnail" << LL_ENDL;