summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
Diffstat (limited to 'Swift')
-rw-r--r--Swift/QtUI/QtNameWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/QtNameWidget.cpp b/Swift/QtUI/QtNameWidget.cpp
index bbbfe3a..705d8af 100644
--- a/Swift/QtUI/QtNameWidget.cpp
+++ b/Swift/QtUI/QtNameWidget.cpp
@@ -61,7 +61,7 @@ void QtNameWidget::mousePressEvent(QMouseEvent* event) {
if (result == showAsJID) {
mode = ShowJID;
}
- else {
+ else if (result == showAsNick) {
mode = ShowNick;
}
settings->storeBool("showNickInRosterHeader", mode == ShowNick);