1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 11:45:53 +01:00

Fixed broken file action group handling on file load error

This commit is contained in:
Martin Tůma 2016-03-25 10:49:08 +01:00
parent 13f383ab7a
commit 0d41341086

View File

@ -482,8 +482,10 @@ bool GUI::openFile(const QString &fileName)
_browser->setCurrent(fileName); _browser->setCurrent(fileName);
_fileActionGroup->setEnabled(true); _fileActionGroup->setEnabled(true);
_navigationActionGroup->setEnabled(true); _navigationActionGroup->setEnabled(true);
} else } else {
_fileActionGroup->setEnabled(false);
ret = false; ret = false;
}
updateNavigationActions(); updateNavigationActions();
updateStatusBarInfo(); updateStatusBarInfo();