From 614448b69d9356a2c656f8ad031fb2560e4de851 Mon Sep 17 00:00:00 2001 From: Kevin Smith Date: Sat, 2 Oct 2010 11:50:04 +0100 Subject: Fix for group expandiness persistency 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; -- cgit v0.10.2-6-g49f6