summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-10-02 10:50:04 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-10-02 10:50:04 (GMT)
commit614448b69d9356a2c656f8ad031fb2560e4de851 (patch)
treef37649a2184536c9cbbdfbfe8da32d4bbb10194e /Swift/Controllers
parent087bc243ffb53e3273580bce5ce66305841a3bff (diff)
downloadswift-contrib-614448b69d9356a2c656f8ad031fb2560e4de851.zip
swift-contrib-614448b69d9356a2c656f8ad031fb2560e4de851.tar.bz2
Fix for group expandiness persistency
Diffstat (limited to 'Swift/Controllers')
-rw-r--r--Swift/Controllers/RosterGroupExpandinessPersister.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/RosterGroupExpandinessPersister.cpp b/Swift/Controllers/RosterGroupExpandinessPersister.cpp
index a6a998a..a2953a5 100644
--- a/Swift/Controllers/RosterGroupExpandinessPersister.cpp
+++ b/Swift/Controllers/RosterGroupExpandinessPersister.cpp
@@ -39,7 +39,7 @@ void RosterGroupExpandinessPersister::handleExpandedChanged(GroupRosterItem* gro
void RosterGroupExpandinessPersister::save() {
String setting;
foreach (const String& group, collapsed_) {
- if (setting.isEmpty()) {
+ if (!setting.isEmpty()) {
setting += "\n";
}
setting += group;