aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-09-23 21:14:40 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-09-23 21:14:40 -0700
commitc6140c6e21aeff4c6e27e67bee407a1c3f552b18 (patch)
treebccba994d7a7024edf2302f6e94fbcef7515a8bd /qt-ui/maintab.cpp
parent0c9e6f9acc055f37699ef336f880346fef6129ca (diff)
downloadsubsurface-c6140c6e21aeff4c6e27e67bee407a1c3f552b18.tar.gz
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 <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.cpp')
-rw-r--r--qt-ui/maintab.cpp1
1 files changed, 1 insertions, 0 deletions
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) \