Fixed an issue causing an unwanted entry in the context menu of the web browser NG.

Sat, 02 Sep 2017 19:05:28 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 02 Sep 2017 19:05:28 +0200
changeset 5867
099008539886
parent 5866
a0c7e42a5750
child 5868
c1a98c164cd3

Fixed an issue causing an unwanted entry in the context menu of the web browser NG.

WebBrowser/WebBrowserView.py file | annotate | diff | comparison | revisions
diff -r a0c7e42a5750 -r 099008539886 WebBrowser/WebBrowserView.py
--- a/WebBrowser/WebBrowserView.py	Sat Sep 02 15:13:32 2017 +0200
+++ b/WebBrowser/WebBrowserView.py	Sat Sep 02 19:05:28 2017 +0200
@@ -560,7 +560,7 @@
                         self.__replaceMisspelledWord)
                     act.setFont(boldFont)
                 
-                if bool(menu.actions()):
+                if not bool(menu.actions()):
                     menu.addAction(self.tr("No suggestions")).setEnabled(False)
                 
                 menu.addSeparator()

eric ide

mercurial