aboutsummaryrefslogtreecommitdiff
path: root/src/emotes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emotes.cpp')
-rw-r--r--src/emotes.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emotes.cpp b/src/emotes.cpp
index 69d11852..2a1d5066 100644
--- a/src/emotes.cpp
+++ b/src/emotes.cpp
@@ -173,6 +173,9 @@ void Courtroom::set_emote_dropdown()
current_char, "emotions/button" + QString::number(n + 1) + "_off"));
ui_emote_dropdown->setItemIcon(n, QIcon(icon_path));
}
+ if (current_emote > -1 && current_emote < ui_emote_dropdown->count()) {
+ ui_emote_dropdown->setCurrentIndex(current_emote);
+ }
}
void Courtroom::select_emote(int p_id)