eric6/QScintilla/Shell.py

branch
maintenance
changeset 8576
fe1957c69854
parent 8273
698ae46f40a4
parent 8485
bb395ec2a6af
diff -r d0123f020daa -r fe1957c69854 eric6/QScintilla/Shell.py
--- a/eric6/QScintilla/Shell.py	Sat Jul 03 11:47:48 2021 +0200
+++ b/eric6/QScintilla/Shell.py	Sat Sep 04 11:34:54 2021 +0200
@@ -571,8 +571,10 @@
         
         self.racEnabled = Preferences.getShell("AutoCompletionEnabled")
         
-        self.maxLines = Preferences.getEditor("AutoCompletionMaxLines")
-        self.maxChars = Preferences.getEditor("AutoCompletionMaxChars")
+        self.setAutoCompletionWidgetSize(
+            Preferences.getEditor("AutoCompletionMaxChars"),
+            Preferences.getEditor("AutoCompletionMaxLines")
+        )
         
     def __setCallTips(self, language='Python'):
         """

eric ide

mercurial