diff options
Diffstat (limited to 'qt-ui/maintab.cpp')
-rw-r--r-- | qt-ui/maintab.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index 4f253e150..7b052e984 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -978,6 +978,7 @@ void MainTab::on_dateEdit_dateChanged(const QDate &date) dateTime.setTimeSpec(Qt::UTC); dateTime.setDate(date); DivePlannerPointsModel::instance()->getDiveplan().when = displayed_dive.when = dateTime.toTime_t(); + emit dateTimeChanged(); } void MainTab::on_timeEdit_timeChanged(const QTime &time) @@ -989,6 +990,7 @@ void MainTab::on_timeEdit_timeChanged(const QTime &time) dateTime.setTimeSpec(Qt::UTC); dateTime.setTime(time); DivePlannerPointsModel::instance()->getDiveplan().when = displayed_dive.when = dateTime.toTime_t(); + emit dateTimeChanged(); } // changing the tags on multiple dives is semantically strange - what's the right thing to do? |