Добавлены значения кнопок enter и numpad-enter для PySipmleGUI>=4.60.3.

master
anton 2023-07-02 13:24:18 +03:00
parent 19eca87c7e
commit 2932481f31
Signed by: anton
GPG Key ID: 50F7E97F96C07ECF
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python3
# Key Master v1.02
# 24/12/2021
# Key Master v1.03
# 02/07/2023
# https://t.me/ssleg © 2021
import sqlite3
@ -275,7 +275,7 @@ def system_login():
event, values = window.read()
if event == Sg.WIN_CLOSED:
break
if event == 'Ok' or event in ('\r', qt_enter_key1, qt_enter_key2):
if event == 'Ok' or event in ('\r', qt_enter_key1, qt_enter_key2, 'Return:36', 'KP_Enter:104'):
input_word = values[0]
if len(input_word) >= 4:
password = sha256(input_word.encode()).hexdigest()

View File

@ -1,2 +1,2 @@
PySimpleGUI~=4.46.0
PySimpleGUI~=4.60.3
cryptocode~=0.1