diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-12-12 22:13:50 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-12-12 22:13:50 (GMT) |
commit | b737c047206ff7b580df06e0c4f7b7cf67c1c882 (patch) | |
tree | 5bf1d356f7dcef7690f9bc2efe4685dfaee1e3f4 /Swift/QtUI | |
parent | 89728bd0879af2cbca2a0f7cdac0b12e46e4f60d (diff) | |
download | swift-b737c047206ff7b580df06e0c4f7b7cf67c1c882.zip swift-b737c047206ff7b580df06e0c4f7b7cf67c1c882.tar.bz2 |
Fixed default action of "Show as X" roster header menu.
Diffstat (limited to 'Swift/QtUI')
-rw-r--r-- | Swift/QtUI/QtNameWidget.cpp | 2 |
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); |