summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2024-02-12 18:49:36 +0200
committerGitHub <noreply@github.com>2024-02-12 18:49:36 +0200
commit9b1796df73f2d4fa19517f390258f798c10bff1e (patch)
tree0d9588cfa96710c7b7cc22eac39c997d095e5669
parent89e73bfcab19bfecccfc2dd571a9ca540f093b75 (diff)
Make LLFloaterLUADebug assume 'Execute' button on LUA String Enter
-rw-r--r--indra/newview/llfloaterluadebug.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llfloaterluadebug.cpp b/indra/newview/llfloaterluadebug.cpp
index d7b46eaa71..7d56d8e618 100644
--- a/indra/newview/llfloaterluadebug.cpp
+++ b/indra/newview/llfloaterluadebug.cpp
@@ -65,6 +65,8 @@ BOOL LLFloaterLUADebug::postBuild()
getChild<LLButton>("execute_btn")->setClickedCallback(boost::bind(&LLFloaterLUADebug::onExecuteClicked, this));
getChild<LLButton>("browse_btn")->setClickedCallback(boost::bind(&LLFloaterLUADebug::onBtnBrowse, this));
getChild<LLButton>("run_btn")->setClickedCallback(boost::bind(&LLFloaterLUADebug::onBtnRun, this));
+ mLineInput->setCommitCallback(boost::bind(&LLFloaterLUADebug::onExecuteClicked, this));
+ mLineInput->setSelectAllonCommit(false);
return TRUE;
}