From a7fa843bd3895a2be5e3f2fb573434c849f02f2d Mon Sep 17 00:00:00 2001 From: Cerapter Date: Fri, 2 Nov 2018 15:08:39 +0100 Subject: [PATCH] Don't fix what's doubly broken: Emote dropdown. Made it so that emote dropdown only responds to activation, instead of index changing, i.e., reverted to previous behaviour. Emote changing already had a failsafe for the emote dropdown index changing, which activated even when you clicked on the emotes. That made it so that you'd get the Pre button ticked on emotes that didn't have 'em, and vice versa. --- courtroom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/courtroom.cpp b/courtroom.cpp index e81d4fd..82aebcd 100644 --- a/courtroom.cpp +++ b/courtroom.cpp @@ -276,7 +276,7 @@ Courtroom::Courtroom(AOApplication *p_ao_app) : QMainWindow() connect(ui_emote_left, SIGNAL(clicked()), this, SLOT(on_emote_left_clicked())); connect(ui_emote_right, SIGNAL(clicked()), this, SLOT(on_emote_right_clicked())); - connect(ui_emote_dropdown, SIGNAL(currentIndexChanged(int)), this, SLOT(on_emote_dropdown_changed(int))); + connect(ui_emote_dropdown, SIGNAL(activated(int)), this, SLOT(on_emote_dropdown_changed(int))); connect(ui_pos_dropdown, SIGNAL(currentIndexChanged(int)), this, SLOT(on_pos_dropdown_changed(int))); connect(ui_mute_list, SIGNAL(clicked(QModelIndex)), this, SLOT(on_mute_list_clicked(QModelIndex)));