From 91b4106dcf4e4ba775200a4d9b2f80b8a780249f Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 8 Jun 2018 08:53:10 +0200 Subject: [PATCH] Fix check for reloads on Qt < 5.11 This was broken in 6ccd69dad200682f7f4ace9d093a444c14825499 --- qutebrowser/browser/webengine/webenginetab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/browser/webengine/webenginetab.py b/qutebrowser/browser/webengine/webenginetab.py index 28703f420..ed9ca4b28 100644 --- a/qutebrowser/browser/webengine/webenginetab.py +++ b/qutebrowser/browser/webengine/webenginetab.py @@ -1084,7 +1084,7 @@ class WebEngineTab(browsertab.AbstractTab): if qtutils.version_check('5.11.1', compiled=False): reload_needed = False elif not qtutils.version_check('5.11.0', exact=True, compiled=False): - if navigation.navigation_type != navigation.Type.link_clicked: + if navigation.navigation_type == navigation.Type.link_clicked: reload_needed = False if reload_needed: