Tiny fix to make pylint stop complaining

This commit is contained in:
Marta Marczykowska-Górecka 2018-05-17 19:58:44 +02:00
parent 744ddfcc80
commit d3bd164e2f
No known key found for this signature in database
GPG Key ID: 9A752C30B26FD04B

View File

@ -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