Minor fix: the default showname is now correctly the name of the character.

This commit is contained in:
Cerapter 2018-08-19 08:03:14 +02:00
parent 265b853337
commit b9f1998c93
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View File

@ -20,6 +20,7 @@ object_script*
/attorney_online_remake_plugin_import.cpp
server/__pycache__
discord/
*.o
moc*

View File

@ -811,6 +811,7 @@ void Courtroom::enter_courtroom(int p_cid)
//ui_server_chatlog->setHtml(ui_server_chatlog->toHtml());
ui_char_select_background->hide();
ui_ic_chat_name->setPlaceholderText(ao_app->get_showname(f_char));
ui_ic_chat_message->setEnabled(m_cid != -1);
ui_ic_chat_message->setFocus();