From c6140c6e21aeff4c6e27e67bee407a1c3f552b18 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 23 Sep 2013 21:14:40 -0700 Subject: Call refreshDisplay() after editing a dive We now can change the dive date and the order of dives could have changed. Signed-off-by: Dirk Hohndel --- qt-ui/maintab.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui/maintab.cpp') diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index 329e5eeeb..6a3d46a99 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -446,6 +446,7 @@ void MainTab::acceptChanges() ui->airtemp->setPalette(p); ui->watertemp->setPalette(p); ui->dateTimeEdit->setPalette(p); + mainWindow()->refreshDisplay(); } #define EDIT_TEXT2(what, text) \ -- cgit v1.2.3-70-g09d2