mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-01 07:13:36 +00:00
Fix issue with msgdialog not passing event back properly.
This commit is contained in:
parent
321f50bf7b
commit
5ecc7d5360
@ -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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user