mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 12:48:57 +00:00
Qt: Make dialogues more consistent
This commit is contained in:
parent
c3d88a622d
commit
7cd30810a3
10 changed files with 18 additions and 10 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue