diff --git a/src/courtroom.cpp b/src/courtroom.cpp index a9f2da6..f909526 100644 --- a/src/courtroom.cpp +++ b/src/courtroom.cpp @@ -4436,10 +4436,11 @@ void Courtroom::set_sfx_dropdown() void Courtroom::on_sfx_dropdown_changed(int p_index) { - Q_UNUSED(p_index); ui_ic_chat_message->setFocus(); - ui_sfx_remove->hide(); - custom_sfx = ""; + if (p_index == 0) { + ui_sfx_remove->hide(); + custom_sfx = ""; + } } void Courtroom::on_sfx_dropdown_custom(QString p_sfx)