aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/charselect.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/charselect.cpp b/src/charselect.cpp
index abed0950..1356f242 100644
--- a/src/charselect.cpp
+++ b/src/charselect.cpp
@@ -176,8 +176,10 @@ void Courtroom::char_clicked(int n_char)
new AOPacket("CC#" + QString::number(ao_app->s_pv) + "#" +
QString::number(n_char) + "#" + get_hdid() + "#%"));
}
- else
+ else {
update_character(n_char);
+ set_widgets(); // so we don't erroneously keep the charselect's fixedSize
+ }
if (n_char != -1)
ui_ic_chat_name->setPlaceholderText(char_list.at(n_char).name);