From 41ada82a045cd690ee0245881111b20c528e9e0e Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Tue, 13 Aug 2013 11:53:48 -0300 Subject: [PATCH] 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 --- qt-ui/maintab.cpp | 1 + 1 file changed, 1 insertion(+) 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)