summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-07-11 18:53:54 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2024-07-12 09:05:36 +0300
commitbecdc46bdc319b513e24f4338f6b8d95fab45575 (patch)
tree94681acaf2eedb211f063f80d164df8abc761487 /indra
parent85b99328e899d1aa4bdb2702510c4bae37c7ac81 (diff)
viewer#1988 "Set empty" for controls ignores "Apply to all"
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llsetkeybinddialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llsetkeybinddialog.cpp b/indra/newview/llsetkeybinddialog.cpp
index e172e15a0e..5dbd579b45 100644
--- a/indra/newview/llsetkeybinddialog.cpp
+++ b/indra/newview/llsetkeybinddialog.cpp
@@ -337,8 +337,8 @@ void LLSetKeyBindDialog::onCancel(void* user_data)
void LLSetKeyBindDialog::onBlank(void* user_data)
{
LLSetKeyBindDialog* self = (LLSetKeyBindDialog*)user_data;
- // tmp needs 'no key' button
- self->setKeyBind(CLICK_NONE, KEY_NONE, MASK_NONE, false);
+
+ self->setKeyBind(CLICK_NONE, KEY_NONE, MASK_NONE, self->pCheckBox->getValue().asBoolean());
self->closeFloater();
}