diff options
| author | Ac_K <Acoustik666@gmail.com> | 2021-09-16 00:09:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-16 00:09:48 +0200 |
| commit | d327e809c9c9d1f4c035c50bf6315eea83ce0147 (patch) | |
| tree | 36788d2fa254b5432d792787a205d5c72f7e18bd | |
| parent | 843401635acb08686c745351666f86146de841b7 (diff) | |
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.
| -rw-r--r-- | Ryujinx/Ui/Widgets/GameTableContextMenu.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx/Ui/Widgets/GameTableContextMenu.cs b/Ryujinx/Ui/Widgets/GameTableContextMenu.cs index 6ebd3f0f..2632f500 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; |
