Fetch LoTW Users data on start up if it is missing

This commit is contained in:
Bill Somerville
2020-10-23 01:35:40 +01:00
parent 2a2e120d7c
commit 8cb6fc6098
+2 -2
View File
@@ -1065,8 +1065,8 @@ Configuration::impl::impl (Configuration * self, QNetworkAccessManager * network
});
lotw_users_.set_local_file_path (writeable_data_dir_.absoluteFilePath ("lotw-user-activity.csv"));
// load the dictionary if it exists
lotw_users_.load (ui_->LotW_CSV_URL_line_edit->text (), false);
// load the dictionary if it exists, fetch and load if it doesn't
lotw_users_.load (ui_->LotW_CSV_URL_line_edit->text ());
//
// validation