GUI.pyw: focus doesn't follow the mouse any more

Done as per shadowm's suggestion.
This commit is contained in:
Elvish_Hunter 2015-09-03 10:04:56 +02:00
parent ed67f99f69
commit cb3c5b9c45

View file

@ -1018,9 +1018,6 @@ class MainFrame(Frame):
self.columnconfigure(0,weight=1)
self.rowconfigure(3,weight=1)
self.notebook.bind("<<NotebookTabChanged>>",self.tab_callback)
# this allows using the mouse wheel even on the disabled Text widget
# without the need to clic on said widget
self.tk_focusFollowsMouse()
parent.protocol("WM_DELETE_WINDOW",
self.on_quit)