Enable the history for chat_input.
This commit is contained in:
parent
07fc7a7df7
commit
ed3ef56c68
2 changed files with 2 additions and 0 deletions
|
@ -411,6 +411,7 @@
|
|||
[text_box]
|
||||
id = "chat_input"
|
||||
definition = "default"
|
||||
history = "mp_chat_input_history"
|
||||
label = ""
|
||||
[/text_box]
|
||||
{HORIZONTAL_SEP}
|
||||
|
|
|
@ -733,6 +733,7 @@ void tlobby_main::send_message_button_callback(gui2::twindow &/*window*/)
|
|||
config msg;
|
||||
send_message_to_active_window(input);
|
||||
}
|
||||
chat_input_->save_to_history();
|
||||
chat_input_->set_value("");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue