From b9f1998c93067d29e5b2cea4d30d95229c27a810 Mon Sep 17 00:00:00 2001 From: Cerapter Date: Sun, 19 Aug 2018 08:03:14 +0200 Subject: [PATCH] Minor fix: the default showname is now correctly the name of the character. --- .gitignore | 1 + courtroom.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index d18dfea..9d5dcdb 100644 --- a/.gitignore +++ b/.gitignore @@ -20,6 +20,7 @@ object_script* /attorney_online_remake_plugin_import.cpp server/__pycache__ +discord/ *.o moc* diff --git a/courtroom.cpp b/courtroom.cpp index 3dd0c4f..5800f58 100644 --- a/courtroom.cpp +++ b/courtroom.cpp @@ -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();