Explorar o código

gui: Hotfix for FileChooserNative during section extraction (#2644)

Fix a regression introduced in #2633, FileChooserNative parent can't be set to null because it's running in modal.
Ac_K %!s(int64=4) %!d(string=hai) anos
pai
achega
d327e809c9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Ryujinx/Ui/Widgets/GameTableContextMenu.cs

+ 1 - 1
Ryujinx/Ui/Widgets/GameTableContextMenu.cs

@@ -184,7 +184,7 @@ namespace Ryujinx.Ui.Widgets
 
         private void ExtractSection(NcaSectionType ncaSectionType, int programIndex = 0)
         {
-            FileChooserNative fileChooser = new FileChooserNative("Choose the folder to extract into", null, FileChooserAction.SelectFolder, "Extract", "Cancel");
+            FileChooserNative fileChooser = new FileChooserNative("Choose the folder to extract into", _parent, FileChooserAction.SelectFolder, "Extract", "Cancel");
 
             ResponseType response    = (ResponseType)fileChooser.Run();
             string       destination = fileChooser.Filename;