Fix: Press Esc: Do not close output window

This commit is contained in:
Alexandre Quessy
2014-10-14 10:42:01 -04:00
parent cbee34aabd
commit bb1ac54c32
+6
View File
@@ -52,8 +52,14 @@ void OutputGLWindow::keyPressEvent(QKeyEvent *event)
setFullScreen(false);
emit fullScreenToggled(false);
}
else if (event->key() == Qt::Key_Escape)
{
// pass
}
else
{
QDialog::keyPressEvent(event);
}
}