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