mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 05:34:47 +01:00
Fixed error handling
This commit is contained in:
parent
9dce08bce4
commit
eec797125b
@ -489,7 +489,8 @@ bool GUI::openFile(const QString &fileName)
|
||||
_fileActionGroup->setEnabled(true);
|
||||
_navigationActionGroup->setEnabled(true);
|
||||
} else {
|
||||
_fileActionGroup->setEnabled(false);
|
||||
if (_files.isEmpty())
|
||||
_fileActionGroup->setEnabled(false);
|
||||
ret = false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user