diff options
author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2024-02-12 18:49:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-12 18:49:36 +0200 |
commit | 9b1796df73f2d4fa19517f390258f798c10bff1e (patch) | |
tree | 0d9588cfa96710c7b7cc22eac39c997d095e5669 | |
parent | 89e73bfcab19bfecccfc2dd571a9ca540f093b75 (diff) |
Make LLFloaterLUADebug assume 'Execute' button on LUA String Enter
-rw-r--r-- | indra/newview/llfloaterluadebug.cpp | 2 |
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; } |