diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-12-28 14:56:01 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-12-28 14:56:01 -0800 |
commit | 90ff8e672b911f17bb7849f9d8316577b3ed59cf (patch) | |
tree | 458ede74b21e26fd881872f67f28783a94d29c96 /qt-ui/mainwindow.cpp | |
parent | a375159e6a13bb971c07ce770af329b64b46ba6d (diff) | |
download | subsurface-90ff8e672b911f17bb7849f9d8316577b3ed59cf.tar.gz |
Update tank model with custom tanks used in XML files
Fixes #377
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r-- | qt-ui/mainwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 5f410ff3c..ad52c7d7f 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -75,6 +75,7 @@ MainWindow::MainWindow() : helpView(0) void MainWindow::refreshDisplay(bool recreateDiveList) { ui.InfoWidget->reload(); + TankInfoModel::instance()->update(); ui.ProfileWidget->refresh(); ui.globe->reload(); if (recreateDiveList) |