diff options
Diffstat (limited to 'mobile-widgets/qmlmanager.cpp')
-rw-r--r-- | mobile-widgets/qmlmanager.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index 413364a65..21ce76735 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -1008,11 +1008,9 @@ void QMLManager::commitChanges(QString diveId, QString date, QString location, Q if (buddy.contains(",")){ buddy = buddy.replace(QRegExp("\\s*,\\s*"), ", "); } - if (!buddy.contains("Multiple Buddies")) { - diveChanged = true; - free(d->buddy); - d->buddy = strdup(qPrintable(buddy)); - } + diveChanged = true; + free(d->buddy); + d->buddy = strdup(qPrintable(buddy)); } if (myDive->divemaster() != diveMaster) { diveChanged = true; |