Kaynağa Gözat

Force activate parent window before dialog is shown (#4663)

MutantAura 3 yıl önce
ebeveyn
işleme
a4780ab33b
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2 0
      Ryujinx.Ava/UI/Applet/AvaHostUiHandler.cs

+ 2 - 0
Ryujinx.Ava/UI/Applet/AvaHostUiHandler.cs

@@ -53,6 +53,8 @@ namespace Ryujinx.Ava.UI.Applet
 
 
                     bool opened = false;
                     bool opened = false;
 
 
+                    _parent.Activate();
+
                     UserResult response = await ContentDialogHelper.ShowDeferredContentDialog(_parent,
                     UserResult response = await ContentDialogHelper.ShowDeferredContentDialog(_parent,
                        title,
                        title,
                        message,
                        message,