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:
@@ -260,6 +260,7 @@ void QtWindow::keyPressEvent(QKeyEvent *event)
|
||||
if (m_cancelAble && event->key() == Qt::Key_Escape)
|
||||
{
|
||||
emit canceled();
|
||||
return;
|
||||
}
|
||||
|
||||
QWidget::keyPressEvent(event);
|
||||
|
||||
Reference in New Issue
Block a user