From 9b1796df73f2d4fa19517f390258f798c10bff1e Mon Sep 17 00:00:00 2001 From: Maxim Nikolenko Date: Mon, 12 Feb 2024 18:49:36 +0200 Subject: Make LLFloaterLUADebug assume 'Execute' button on LUA String Enter --- indra/newview/llfloaterluadebug.cpp | 2 ++ 1 file changed, 2 insertions(+) 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("execute_btn")->setClickedCallback(boost::bind(&LLFloaterLUADebug::onExecuteClicked, this)); getChild("browse_btn")->setClickedCallback(boost::bind(&LLFloaterLUADebug::onBtnBrowse, this)); getChild("run_btn")->setClickedCallback(boost::bind(&LLFloaterLUADebug::onBtnRun, this)); + mLineInput->setCommitCallback(boost::bind(&LLFloaterLUADebug::onExecuteClicked, this)); + mLineInput->setSelectAllonCommit(false); return TRUE; } -- cgit v1.2.3