Removed unnecessary user settings for the window position

This commit is contained in:
PySimpleGUI 2022-07-18 12:31:09 -04:00
parent bf9d1214f0
commit c9cdf53176
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