mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Expand tags approach to divemaster field
Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9faf52dd43
commit
b8c746d975
3 changed files with 4 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue