fix password dialog not on top

This commit is contained in:
Zichao Lin 2024-06-22 22:38:25 +08:00
parent 69f320ec2d
commit 44fd986f6c
Signed by: earthjasonlin
GPG Key ID: 406D9913DE2E42FB

@ -276,7 +276,7 @@ def open_settings():
)
def save_changes():
entered_password = simpledialog.askstring("密码", "请输入密码:", show="*")
entered_password = simpledialog.askstring("密码", "请输入密码:", parent=settings_window, show="*")
if entered_password == PASSWORD:
save_settings(
allow_repeat_var.get(), int(min_id_var.get()), int(max_id_var.get())