diff options
Diffstat (limited to 'qt-ui/maintab.cpp')
-rw-r--r-- | qt-ui/maintab.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index 0e6dce0f4..e8df29368 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -838,8 +838,9 @@ void MainTab::on_buddy_textChanged() markChangedWidget(ui.buddy); } -void MainTab::on_divemaster_textChanged(const QString& text) +void MainTab::on_divemaster_textChanged() { + QString text = ui.divemaster->toPlainText().split(",", QString::SkipEmptyParts).join(", "); EDIT_SELECTED_DIVES( EDIT_TEXT(mydive->divemaster, text) ); markChangedWidget(ui.divemaster); } |