summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-08-13 11:53:48 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-08-13 11:53:48 -0300
commit41ada82a045cd690ee0245881111b20c528e9e0e (patch)
tree59bee65031fe244bd0e0945e0e4e897e651ee660 /qt-ui/maintab.cpp
parent6da2d40d3c6f288695ece0384bbad229b345f2b8 (diff)
downloadsubsurface-41ada82a045cd690ee0245881111b20c528e9e0e.tar.gz
Fixed a bug where the auto-completion would not work via commandline.
Fixed a bug where the auto-completion would not work via command line, I fixed it by reloading the information of dives when a dive file is open via command line or via UI. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.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 44429f8c8..13709ba23 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -561,6 +561,7 @@ void MainTab::initialUiSetup()
ui->weights->resizeColumnToContents(i);
}
s.endGroup();
+ reload();
}
void MainTab::editCylinderWidget(const QModelIndex& index)