Skip to content
Snippets Groups Projects
Commit 95ff29ff authored by Testicular Slingshot's avatar Testicular Slingshot
Browse files

Fix for chatbar cursor not going to the end of the line when typing a message to open the chatbar.

parent 40cd7eae
No related branches found
No related tags found
1 merge request!13Chatbar fixes
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
using namespace LLChatUtilities; using namespace LLChatUtilities;
class LLChatBarGestureObserver : public LLGestureManagerObserver class LLChatBarGestureObserver final : public LLGestureManagerObserver
{ {
public: public:
LLChatBarGestureObserver(LLChatBar* chat_barp) : mChatBar(chat_barp){} LLChatBarGestureObserver(LLChatBar* chat_barp) : mChatBar(chat_barp){}
...@@ -294,6 +294,7 @@ void LLChatBar::startChat(const char* line) ...@@ -294,6 +294,7 @@ void LLChatBar::startChat(const char* line)
std::string line_string(line); std::string line_string(line);
bar->mInputEditor->setText(line_string); bar->mInputEditor->setText(line_string);
} }
bar->mInputEditor->setCursorToEnd();
} }
// static // static
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment