Merge pull request #5700 from PySimpleGUI/Dev-latest

Removed unnecessary user settings for the window position
This commit is contained in:
PySimpleGUI 2022-07-18 12:31:27 -04:00 committed by GitHub
commit 672ed9755b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -48,8 +48,6 @@ def main():
event, values = window.read() # wake every hour
print(event, values)
if event == sg.WIN_CLOSED or event == 'Exit':
if event == 'Exit':
sg.user_settings_set_entry('-location-', window.current_location())
break
if event == 'Add Item':
window.metadata += 1