Qt: Make dialogues more consistent

This commit is contained in:
spycrab
2018-05-06 18:02:39 +02:00
parent c3d88a622d
commit 7cd30810a3
10 changed files with 18 additions and 10 deletions

View File

@ -137,7 +137,7 @@ void ARCodeWidget::OnCodeAddPressed()
ActionReplay::ARCode ar;
ar.active = true;
CheatCodeEditor ed;
CheatCodeEditor ed(this);
ed.SetARCode(&ar);
@ -165,7 +165,7 @@ void ARCodeWidget::OnCodeEditPressed()
ActionReplay::ARCode ar = current_ar;
CheatCodeEditor ed;
CheatCodeEditor ed(this);
ed.SetARCode(user_defined ? &current_ar : &ar);
ed.exec();