mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -06:00
Qt: Make dialogues more consistent
This commit is contained in:
@ -69,7 +69,7 @@ void PatchesWidget::OnAdd()
|
||||
PatchEngine::Patch patch;
|
||||
patch.user_defined = true;
|
||||
|
||||
if (NewPatchDialog(patch).exec())
|
||||
if (NewPatchDialog(this, patch).exec())
|
||||
{
|
||||
m_patches.push_back(patch);
|
||||
SavePatches();
|
||||
@ -93,7 +93,7 @@ void PatchesWidget::OnEdit()
|
||||
patch.name = tr("%1 (Copy)").arg(QString::fromStdString(patch.name)).toStdString();
|
||||
}
|
||||
|
||||
if (NewPatchDialog(patch).exec())
|
||||
if (NewPatchDialog(this, patch).exec())
|
||||
{
|
||||
if (patch.user_defined)
|
||||
{
|
||||
|
Reference in New Issue
Block a user