From d327e809c9c9d1f4c035c50bf6315eea83ce0147 Mon Sep 17 00:00:00 2001 From: Ac_K Date: Thu, 16 Sep 2021 00:09:48 +0200 Subject: [PATCH] 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. --- Ryujinx/Ui/Widgets/GameTableContextMenu.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ryujinx/Ui/Widgets/GameTableContextMenu.cs b/Ryujinx/Ui/Widgets/GameTableContextMenu.cs index 6ebd3f0f80..2632f500fc 100644 --- a/Ryujinx/Ui/Widgets/GameTableContextMenu.cs +++ b/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;