Fixed a line where event->ingore() was called after break.

This commit is contained in:
Peter Mcteague 2017-09-04 13:41:43 +01:00 committed by Ani
parent 5326912bc0
commit a6ba7ed21c

View File

@ -68,8 +68,8 @@ void keyboard_pad_handler::keyPressEvent(QKeyEvent* event)
break;
case Qt::Key_Return:
if (!(event->modifiers() == Qt::AltModifier)) { Key(event->key(), 1); }
break;
event->ignore();
break;
case Qt::Key_Escape:
event->ignore();
break;