summaryrefslogtreecommitdiff
path: root/src/gui/emotepopup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/emotepopup.cpp')
-rw-r--r--src/gui/emotepopup.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/emotepopup.cpp b/src/gui/emotepopup.cpp
index 707f4bfa..ce664cae 100644
--- a/src/gui/emotepopup.cpp
+++ b/src/gui/emotepopup.cpp
@@ -110,7 +110,8 @@ void EmotePopup::mousePressed(gcn::MouseEvent &event)
return;
const int index = getIndexAt(event.getX(), event.getY());
- if (index != -1) {
+ if (index != -1)
+ {
setSelectedEmoteIndex(index);
emoteShortcut->setEmoteSelected(index + 1);
}