diff options
author | maxim_productengine <mnikolenko@productengine.com> | 2019-01-18 14:39:47 +0200 |
---|---|---|
committer | maxim_productengine <mnikolenko@productengine.com> | 2019-01-18 14:39:47 +0200 |
commit | c00e7dbae16bee6e09843d3b2c3ed01f22bae989 (patch) | |
tree | 7f31de27a1d0c0a3e31167513cf57f452efc0411 | |
parent | 066eb59808d5649c745fdc6c37b62f2eb9a19b6f (diff) |
SL-10380 FIXED 'Day Length/Day Offset' values don't apply to the region from the keyboard by pressing 'Enter'
-rw-r--r-- | indra/newview/llpanelenvironment.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llpanelenvironment.cpp b/indra/newview/llpanelenvironment.cpp index c2827e451f..ec6352c88d 100644 --- a/indra/newview/llpanelenvironment.cpp +++ b/indra/newview/llpanelenvironment.cpp @@ -172,8 +172,10 @@ BOOL LLPanelEnvironmentInfo::postBuild() getChild<LLUICtrl>(SLD_DAYLENGTH)->setCommitCallback([this](LLUICtrl *, const LLSD &value) { onSldDayLengthChanged(value.asReal()); }); getChild<LLSliderCtrl>(SLD_DAYLENGTH)->setSliderMouseUpCallback([this](LLUICtrl *, const LLSD &) { onDayLenOffsetMouseUp(); }); + getChild<LLSliderCtrl>(SLD_DAYLENGTH)->setSliderEditorCommitCallback([this](LLUICtrl *, const LLSD &) { onDayLenOffsetMouseUp(); }); getChild<LLUICtrl>(SLD_DAYOFFSET)->setCommitCallback([this](LLUICtrl *, const LLSD &value) { onSldDayOffsetChanged(value.asReal()); }); getChild<LLSliderCtrl>(SLD_DAYOFFSET)->setSliderMouseUpCallback([this](LLUICtrl *, const LLSD &) { onDayLenOffsetMouseUp(); }); + getChild<LLSliderCtrl>(SLD_DAYOFFSET)->setSliderEditorCommitCallback([this](LLUICtrl *, const LLSD &) { onDayLenOffsetMouseUp(); }); getChild<LLMultiSliderCtrl>(SLD_ALTITUDES)->setCommitCallback([this](LLUICtrl *cntrl, const LLSD &value) { onAltSliderCallback(cntrl, value); }); getChild<LLMultiSliderCtrl>(SLD_ALTITUDES)->setSliderMouseUpCallback([this](LLUICtrl *, const LLSD &) { onAltSliderMouseUp(); }); |