Fix issue with msgdialog not passing event back properly.
This commit is contained in:
@@ -85,6 +85,10 @@ private:
|
||||
{
|
||||
event->ignore();
|
||||
}
|
||||
else
|
||||
{
|
||||
QDialog::keyPressEvent(event);
|
||||
}
|
||||
}
|
||||
void closeEvent(QCloseEvent* event)
|
||||
{
|
||||
@@ -93,6 +97,10 @@ private:
|
||||
{
|
||||
event->ignore();
|
||||
}
|
||||
else
|
||||
{
|
||||
QDialog::closeEvent(event);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user