Fix issue with msgdialog not passing event back properly.

This commit is contained in:
Robbie 2017-06-23 09:46:02 -05:00 committed by Ivan
parent 321f50bf7b
commit 5ecc7d5360

View File

@ -85,6 +85,10 @@ private:
{ {
event->ignore(); event->ignore();
} }
else
{
QDialog::keyPressEvent(event);
}
} }
void closeEvent(QCloseEvent* event) void closeEvent(QCloseEvent* event)
{ {
@ -93,6 +97,10 @@ private:
{ {
event->ignore(); event->ignore();
} }
else
{
QDialog::closeEvent(event);
}
} }
}; };