From 0d413410861127fd919cd1c3f3cdc08868ccc50e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Fri, 25 Mar 2016 10:49:08 +0100 Subject: [PATCH] Fixed broken file action group handling on file load error --- src/gui.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gui.cpp b/src/gui.cpp index 0aa4c89f..7f679ea8 100644 --- a/src/gui.cpp +++ b/src/gui.cpp @@ -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();