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
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F

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