mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-30 22:51:16 +01:00
Fixed error handling
This commit is contained in:
parent
9cd3f3c4a3
commit
051f3fec58
@ -860,6 +860,8 @@ bool GUI::loadFile(const QString &fileName, bool silent)
|
||||
updateWindowTitle();
|
||||
updateGraphTabs();
|
||||
updateDEMDownloadAction();
|
||||
if (_files.isEmpty())
|
||||
_fileActionGroup->setEnabled(false);
|
||||
|
||||
QString error = tr("Error loading data file:") + "\n\n"
|
||||
+ fileName + "\n\n" + data.errorString();
|
||||
|
Loading…
Reference in New Issue
Block a user