diff --git a/src/Ryujinx/UI/Views/Input/InputView.axaml.cs b/src/Ryujinx/UI/Views/Input/InputView.axaml.cs index dd5f436ca..7c21d839f 100644 --- a/src/Ryujinx/UI/Views/Input/InputView.axaml.cs +++ b/src/Ryujinx/UI/Views/Input/InputView.axaml.cs @@ -35,7 +35,7 @@ namespace Ryujinx.Ava.UI.Views.Input LocaleManager.Instance[LocaleKeys.InputDialogYes], LocaleManager.Instance[LocaleKeys.InputDialogNo], LocaleManager.Instance[LocaleKeys.RyujinxConfirm], - parent: (Window)this.VisualRoot); + parent: (Window)VisualRoot); if (result == UserResult.Yes) { diff --git a/src/Ryujinx/UI/Views/Settings/SettingsGraphicsView.axaml.cs b/src/Ryujinx/UI/Views/Settings/SettingsGraphicsView.axaml.cs index 514a40c58..9901c2ead 100644 --- a/src/Ryujinx/UI/Views/Settings/SettingsGraphicsView.axaml.cs +++ b/src/Ryujinx/UI/Views/Settings/SettingsGraphicsView.axaml.cs @@ -30,7 +30,7 @@ namespace Ryujinx.Ava.UI.Views.Settings "", LocaleManager.Instance[LocaleKeys.InputDialogOk], LocaleManager.Instance[LocaleKeys.DialogSettingsBackendThreadingWarningTitle], - parent: this.VisualRoot as Window) + parent: (Window)VisualRoot) ); } }