Tiny fix to make pylint stop complaining
This commit is contained in:
parent
744ddfcc80
commit
d3bd164e2f
@ -148,7 +148,7 @@ class VMSettingsWindow(ui_settingsdlg.Ui_SettingsDialog, QtGui.QDialog):
|
||||
self.refresh_apps_button.clicked.connect(
|
||||
self.refresh_apps_button_pressed)
|
||||
|
||||
def keyPressEvent(self, event):
|
||||
def keyPressEvent(self, event): # pylint: disable=invalid-name
|
||||
if event.key() == QtCore.Qt.Key_Enter \
|
||||
or event.key() == QtCore.Qt.Key_Return:
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user