fix password dialog not on top
This commit is contained in:
parent
69f320ec2d
commit
44fd986f6c
2
main.py
2
main.py
@ -276,7 +276,7 @@ def open_settings():
|
|||||||
)
|
)
|
||||||
|
|
||||||
def save_changes():
|
def save_changes():
|
||||||
entered_password = simpledialog.askstring("密码", "请输入密码:", show="*")
|
entered_password = simpledialog.askstring("密码", "请输入密码:", parent=settings_window, show="*")
|
||||||
if entered_password == PASSWORD:
|
if entered_password == PASSWORD:
|
||||||
save_settings(
|
save_settings(
|
||||||
allow_repeat_var.get(), int(min_id_var.get()), int(max_id_var.get())
|
allow_repeat_var.get(), int(min_id_var.get()), int(max_id_var.get())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user