aboutsummaryrefslogtreecommitdiff
path: root/courtroom.cpp
diff options
context:
space:
mode:
authorCerapter <cerap@protonmail.com>2018-10-23 10:52:59 +0200
committerCerapter <cerap@protonmail.com>2018-10-23 10:52:59 +0200
commitbbf8d103b31d5bddc277b28c0245c2ab3e399fe6 (patch)
treebc1e136c40cbae1c2b62b7a988277472ca41bae0 /courtroom.cpp
parentfc72ff42345fdda694cd6cf62a77c6cc99a59bc5 (diff)
Changed dropdown menus so they activate even if you click an item in them.
Diffstat (limited to 'courtroom.cpp')
-rw-r--r--courtroom.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/courtroom.cpp b/courtroom.cpp
index bd206cf4..b71c97bb 100644
--- a/courtroom.cpp
+++ b/courtroom.cpp
@@ -271,8 +271,8 @@ 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(activated(int)), this, SLOT(on_emote_dropdown_changed(int)));
- connect(ui_pos_dropdown, SIGNAL(activated(int)), this, SLOT(on_pos_dropdown_changed(int)));
+ connect(ui_emote_dropdown, SIGNAL(currentIndexChanged(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)));