summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-12-12 22:13:50 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-12-12 22:13:50 (GMT)
commitb737c047206ff7b580df06e0c4f7b7cf67c1c882 (patch)
tree5bf1d356f7dcef7690f9bc2efe4685dfaee1e3f4 /Swift
parent89728bd0879af2cbca2a0f7cdac0b12e46e4f60d (diff)
downloadswift-b737c047206ff7b580df06e0c4f7b7cf67c1c882.zip
swift-b737c047206ff7b580df06e0c4f7b7cf67c1c882.tar.bz2
Fixed default action of "Show as X" roster header menu.
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);