We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4482460 commit 11a111eCopy full SHA for 11a111e
Sample GUI Implementation/notepad.py
@@ -557,3 +557,6 @@ def SaveBeforeClose(fname: str):
557
text_to_save = VALUES['-BODY-']
558
except: # pylint: disable=bare-except
559
pass
560
+
561
+ # Set focus to the editor.
562
+ WINDOW.Element('-BODY-').SetFocus()
0 commit comments