diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-10-02 10:50:04 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-10-02 10:50:04 (GMT) |
commit | 614448b69d9356a2c656f8ad031fb2560e4de851 (patch) | |
tree | f37649a2184536c9cbbdfbfe8da32d4bbb10194e | |
parent | 087bc243ffb53e3273580bce5ce66305841a3bff (diff) | |
download | swift-contrib-614448b69d9356a2c656f8ad031fb2560e4de851.zip swift-contrib-614448b69d9356a2c656f8ad031fb2560e4de851.tar.bz2 |
Fix for group expandiness persistency
-rw-r--r-- | Swift/Controllers/RosterGroupExpandinessPersister.cpp | 2 |
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; |