mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
Fix #2035015 [Data file Manager - Enter key inconsistency](https://bugs.launchpad.net/calibre/+bug/2035015)
This commit is contained in:
parent
782eda6351
commit
ec7a9cdc47
@ -261,7 +261,7 @@ class DataFilesManager(Dialog):
|
||||
m.exec(self.fview.mapToGlobal(pos))
|
||||
|
||||
def keyPressEvent(self, ev):
|
||||
if ev.key() == Qt.Key.Key_Return:
|
||||
if ev.key() in (Qt.Key.Key_Return, Qt.Key.Key_Enter):
|
||||
return
|
||||
return super().keyPressEvent(ev)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user