From 90ff8e672b911f17bb7849f9d8316577b3ed59cf Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 28 Dec 2013 14:56:01 -0800 Subject: Update tank model with custom tanks used in XML files Fixes #377 Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui/mainwindow.cpp') 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) -- cgit v1.2.3-70-g09d2