From 2f8ea2003f3c64722fcda57889bae68a324150eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <101191390+HIllya51@users.noreply.github.com> Date: Fri, 21 Jun 2024 14:39:10 +0800 Subject: [PATCH] . --- LunaTranslator/LunaTranslator/gui/usefulwidget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LunaTranslator/LunaTranslator/gui/usefulwidget.py b/LunaTranslator/LunaTranslator/gui/usefulwidget.py index b4bf911b..7020956e 100644 --- a/LunaTranslator/LunaTranslator/gui/usefulwidget.py +++ b/LunaTranslator/LunaTranslator/gui/usefulwidget.py @@ -1167,7 +1167,7 @@ class CustomKeySequenceEdit(QKeySequenceEdit): def getsimplekeyseq(dic, key, callback=None): - key1 = CustomKeySequenceEdit(QKeySequence(poslist)) + key1 = CustomKeySequenceEdit(QKeySequence(dic[key])) def __(_d, _k, cb, s): _d[_k] = s