Fixed an issue related to enabling the 'Calltips' action of the editor context menu.

Sun, 08 Oct 2017 13:28:23 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 08 Oct 2017 13:28:23 +0200
changeset 5897
ae17b1ae12bb
parent 5895
7fd049b97081
child 5898
fc96d49f5fbf

Fixed an issue related to enabling the 'Calltips' action of the editor context menu.

QScintilla/Editor.py file | annotate | diff | comparison | revisions
--- a/QScintilla/Editor.py	Sat Oct 07 10:49:15 2017 +0200
+++ b/QScintilla/Editor.py	Sun Oct 08 13:28:23 2017 +0200
@@ -5061,7 +5061,7 @@
             self.completer is not None and self.completer.isEnabled())
         
         if not self.isResourcesFile:
-            self.menuActs["calltip"].setEnabled(self.acAPI)
+            self.menuActs["calltip"].setEnabled(self.canProvideCallTipps())
         
         from .SpellChecker import SpellChecker
         spellingAvailable = SpellChecker.isAvailable()
@@ -5102,7 +5102,6 @@
             self.canProvideDynamicAutoCompletion())
         self.menuActs["acAPI"].setEnabled(self.acAPI)
         self.menuActs["acAPIDocument"].setEnabled(self.acAPI)
-        self.menuActs["calltip"].setEnabled(self.canProvideCallTipps())
         
         self.showMenu.emit("Autocompletion", self.autocompletionMenu, self)
         

eric ide

mercurial