Skip to content

Commit

Permalink
Update Complete
Browse files Browse the repository at this point in the history
  • Loading branch information
ReaseRZ authored Mar 29, 2024
1 parent ad35d67 commit c92b1e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions IPray.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def ConfirmDefault():
break
if event =='_country_':
windowOp['_city_'].update(disabled=False)
for i in range (0,len(loc.CountryList)-1):
for i in range (0,len(loc.CountryList)):
if values['_country_'] == loc.CountryList[i]:
windowOp['_city_'].update(values=loc.CityList[i])

Expand Down Expand Up @@ -174,7 +174,7 @@ def main():

if event =='country':
window['city'].update(disabled=False)
for i in range (0,len(loc.CountryList)-1):
for i in range (0,len(loc.CountryList)):
if values['country'] == loc.CountryList[i]:
window['city'].update(values=loc.CityList[i])
if event == sg.WIN_CLOSE_ATTEMPTED_EVENT:
Expand Down

0 comments on commit c92b1e8

Please sign in to comment.