1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 05:34:47 +01:00

Fixed actions logic

This commit is contained in:
Martin Tůma 2020-12-03 20:58:22 +01:00
parent 41c8a4d935
commit 9e03d85b7a

View File

@ -786,6 +786,8 @@ bool GUI::openFile(const QString &fileName)
_files.append(fileName); _files.append(fileName);
_browser->setCurrent(fileName); _browser->setCurrent(fileName);
_fileActionGroup->setEnabled(true); _fileActionGroup->setEnabled(true);
// Explicitly enable the reload action as it may be disabled by loadMapDir()
_reloadFileAction->setEnabled(true);
_navigationActionGroup->setEnabled(true); _navigationActionGroup->setEnabled(true);
updateNavigationActions(); updateNavigationActions();