ui: Fixed escaping and interrupting

* Fixed crash when closing window with ESCAPE
* Fixed interrupt status message not showing when interrupting parsing
This commit is contained in:
Eberhard Graether
2016-03-10 11:47:33 +01:00
parent 66e8be4b4d
commit 527418fe2c
4 changed files with 12 additions and 7 deletions
+1
View File
@@ -260,6 +260,7 @@ void QtWindow::keyPressEvent(QKeyEvent *event)
if (m_cancelAble && event->key() == Qt::Key_Escape)
{
emit canceled();
return;
}
QWidget::keyPressEvent(event);