diff options
author | maxim_productengine <mnikolenko@productengine.com> | 2018-12-12 15:27:27 +0200 |
---|---|---|
committer | maxim_productengine <mnikolenko@productengine.com> | 2018-12-12 15:27:27 +0200 |
commit | 1cc8286c2097fb0896d40df6fe8ef311fa4c92ef (patch) | |
tree | 940669a89af5194fcdfc90b376c2b69683f2bd70 /indra | |
parent | dbcd1c273571a5d496b0d89db6bc224c2a0d672a (diff) |
SL-10188 [EEP] add/delete/load should be disabled while the timeline "Play" button is engaged.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llfloatereditextdaycycle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfloatereditextdaycycle.cpp b/indra/newview/llfloatereditextdaycycle.cpp index f9f0ed1b95..7184d07ee3 100644 --- a/indra/newview/llfloatereditextdaycycle.cpp +++ b/indra/newview/llfloatereditextdaycycle.cpp @@ -1079,8 +1079,8 @@ void LLFloaterEditExtDayCycle::updateButtons() //bool can_add = static_cast<bool>(settings); //mAddFrameButton->setEnabled(can_add); //mDeleteFrameButton->setEnabled(!can_add); - mAddFrameButton->setEnabled(isAddingFrameAllowed() && mCanMod); - mDeleteFrameButton->setEnabled(isRemovingFrameAllowed() && mCanMod); + mAddFrameButton->setEnabled(!mIsPlaying && isAddingFrameAllowed() && mCanMod); + mDeleteFrameButton->setEnabled(!mIsPlaying && isRemovingFrameAllowed() && mCanMod); mLoadFrame->setEnabled(!mIsPlaying && mCanMod); } |