Update tank model with custom tanks used in XML files

Fixes #377

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2013-12-28 14:56:01 -08:00
parent a375159e6a
commit 90ff8e672b
2 changed files with 11 additions and 1 deletions

View file

@ -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)