EditorAssembly: fixed an issue causing the assembly widget handling focus instead of the embedded editor.

Sun, 01 Dec 2019 09:17:30 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 01 Dec 2019 09:17:30 +0100
changeset 7343
e0808393413f
parent 7342
0782f7d07059
child 7344
83bb25074625

EditorAssembly: fixed an issue causing the assembly widget handling focus instead of the embedded editor.

eric6/QScintilla/EditorAssembly.py file | annotate | diff | comparison | revisions
--- a/eric6/QScintilla/EditorAssembly.py	Sat Nov 30 15:11:01 2019 +0100
+++ b/eric6/QScintilla/EditorAssembly.py	Sun Dec 01 09:17:30 2019 +0100
@@ -53,6 +53,8 @@
         self.__layout.addWidget(self.__membersCombo, 0, 2)
         self.__layout.addWidget(self.__editor, 1, 1, 1, -1)
         
+        self.setFocusProxy(self.__editor)
+        
         self.__module = None
         
         self.__globalsCombo.activated[int].connect(self.__globalsActivated)

eric ide

mercurial