Enable the history for chat_input.

This commit is contained in:
Mark de Wever 2009-07-12 16:13:21 +00:00
parent 07fc7a7df7
commit ed3ef56c68
2 changed files with 2 additions and 0 deletions

View file

@ -411,6 +411,7 @@
[text_box]
id = "chat_input"
definition = "default"
history = "mp_chat_input_history"
label = ""
[/text_box]
{HORIZONTAL_SEP}

View file

@ -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("");
}