mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-16 10:03:41 -07:00
XSegEditor: fix bugs
This commit is contained in:
parent
6687213fa5
commit
d1a5639e90
2 changed files with 5 additions and 3 deletions
|
@ -66,7 +66,7 @@ class QXIconButton(QPushButton):
|
|||
self.repeat_timer.setInterval(self.repeat_delay)
|
||||
|
||||
def on_keyPressEvent(self, ev):
|
||||
key = ev.key()
|
||||
key = ev.nativeVirtualKey()
|
||||
if ev.isAutoRepeat():
|
||||
return
|
||||
|
||||
|
@ -75,7 +75,7 @@ class QXIconButton(QPushButton):
|
|||
self.action(is_pressed=True)
|
||||
|
||||
def on_keyReleaseEvent(self, ev):
|
||||
key = ev.key()
|
||||
key = ev.nativeVirtualKey()
|
||||
if ev.isAutoRepeat():
|
||||
return
|
||||
if self.seq is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue