Removed unnecessary user settings for the window position
This commit is contained in:
parent
bf9d1214f0
commit
c9cdf53176
|
@ -48,8 +48,6 @@ def main():
|
||||||
event, values = window.read() # wake every hour
|
event, values = window.read() # wake every hour
|
||||||
print(event, values)
|
print(event, values)
|
||||||
if event == sg.WIN_CLOSED or event == 'Exit':
|
if event == sg.WIN_CLOSED or event == 'Exit':
|
||||||
if event == 'Exit':
|
|
||||||
sg.user_settings_set_entry('-location-', window.current_location())
|
|
||||||
break
|
break
|
||||||
if event == 'Add Item':
|
if event == 'Add Item':
|
||||||
window.metadata += 1
|
window.metadata += 1
|
||||||
|
|
Loading…
Reference in New Issue