diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-11-19 23:08:20 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-11-19 23:08:20 -0800 |
commit | 9c5e037a612808a9ad1d2c9f8e6ec7213d5d468b (patch) | |
tree | 3b9b83ca11d5a0bcef3032fd0f0999a104db28e1 /qt-ui/mainwindow.cpp | |
parent | 0ca12c36011804eb4b2c3034269bab51ad04a500 (diff) | |
download | subsurface-9c5e037a612808a9ad1d2c9f8e6ec7213d5d468b.tar.gz |
Trigger redraw of the Dive Info pane on preferences change
If we change the units we need to redraw the info on this pane.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r-- | qt-ui/mainwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 1edd8be67..53198902c 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -53,6 +53,8 @@ MainWindow::MainWindow() : helpView(0) connect(PreferencesDialog::instance(), SIGNAL(settingsChanged()), ui.ListWidget, SLOT(update())); connect(PreferencesDialog::instance(), SIGNAL(settingsChanged()), ui.ListWidget, SLOT(reloadHeaderActions())); connect(PreferencesDialog::instance(), SIGNAL(settingsChanged()), ui.ProfileWidget, SLOT(refresh())); + connect(PreferencesDialog::instance(), SIGNAL(settingsChanged()), ui.InfoWidget, SLOT(updateDiveInfo())); + ui.mainErrorMessage->hide(); initialUiSetup(); readSettings(); |