summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/maintab.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index 3af6a0f40..406e09a50 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -355,6 +355,9 @@ void MainTab::updateDiveInfo(int dive)
ui->tempLimits->clear();
ui->totalTimeAllText->clear();
ui->timeLimits->clear();
+ /* turns out this is non-trivial for a dateTimeEdit... this is a partial hack */
+ QLineEdit *le = ui->dateTimeEdit->findChild<QLineEdit*>();
+ le->setText("");
}
}