Added confirmation popup

main v1.0.2
TheHumanRobot 3 years ago committed by GitHub
parent 26977f74b2
commit 1cde06f3ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -146,6 +146,7 @@ while True:
settings['Thanksgiving Enabled'] = values['Thanksgiving Enabled']
settings['Christmas Enabled'] = values['Christmas Enabled']
settings['Default'] = values['Default']
sg.popup('Your Changes are saved')
if event == 'Submit':
settings['URL'] = values['URL']
@ -189,7 +190,10 @@ while True:
settings['Halloween Enabled'] = values['Halloween Enabled']
settings['Thanksgiving Enabled'] = values['Thanksgiving Enabled']
settings['Christmas Enabled'] = values['Christmas Enabled']
settings['Default'] = values['Default']
PrerollUpdate.update()
sg.popup('Your Pre-roll is updated!')
if event == 'Freq':
if values['Freq'] == ['Monthly']:
window['Month'].update(visible=True)
@ -214,4 +218,4 @@ while True:
if event == sg.WIN_CLOSED:
break
window.close()
window.close()

Loading…
Cancel
Save