mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 03:35:53 +01:00
Fixed broken file action group handling on file load error
This commit is contained in:
parent
13f383ab7a
commit
0d41341086
@ -482,8 +482,10 @@ bool GUI::openFile(const QString &fileName)
|
||||
_browser->setCurrent(fileName);
|
||||
_fileActionGroup->setEnabled(true);
|
||||
_navigationActionGroup->setEnabled(true);
|
||||
} else
|
||||
} else {
|
||||
_fileActionGroup->setEnabled(false);
|
||||
ret = false;
|
||||
}
|
||||
|
||||
updateNavigationActions();
|
||||
updateStatusBarInfo();
|
||||
|
Loading…
Reference in New Issue
Block a user