diff options
Diffstat (limited to 'desktop-widgets/maintab.cpp')
-rw-r--r-- | desktop-widgets/maintab.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/desktop-widgets/maintab.cpp b/desktop-widgets/maintab.cpp index 8b24710a0..0b69fcdea 100644 --- a/desktop-widgets/maintab.cpp +++ b/desktop-widgets/maintab.cpp @@ -1237,6 +1237,22 @@ void MainTab::on_divemaster_textChanged() markChangedWidget(ui.divemaster); } +void MainTab::on_duration_textChanged(const QString &text) +{ + if (editMode == IGNORE || acceptingEdit == true) + return; + qDebug() << "duration text changed"; +} + +void MainTab::on_depth_textChanged(const QString &text) +{ + if (editMode == IGNORE || acceptingEdit == true) + return; + displayed_dive.maxdepth.mm = parseLengthToMm(text); + markChangedWidget(ui.depth); + qDebug() << "depth text changed to" << displayed_dive.maxdepth.mm << "mm"; +} + void MainTab::on_airtemp_textChanged(const QString &text) { if (editMode == IGNORE || acceptingEdit == true) |