1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-10-06 06:43:22 +02:00

Fixed error handling

This commit is contained in:
Martin Tůma 2016-03-29 20:58:33 +02:00
parent 9dce08bce4
commit eec797125b

View File

@ -489,6 +489,7 @@ bool GUI::openFile(const QString &fileName)
_fileActionGroup->setEnabled(true);
_navigationActionGroup->setEnabled(true);
} else {
if (_files.isEmpty())
_fileActionGroup->setEnabled(false);
ret = false;
}