mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-28 10:00:50 +01:00
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.
This commit is contained in:
parent
843401635a
commit
d327e809c9
@ -184,7 +184,7 @@ namespace Ryujinx.Ui.Widgets
|
|||||||
|
|
||||||
private void ExtractSection(NcaSectionType ncaSectionType, int programIndex = 0)
|
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();
|
ResponseType response = (ResponseType)fileChooser.Run();
|
||||||
string destination = fileChooser.Filename;
|
string destination = fileChooser.Filename;
|
||||||
|
Loading…
Reference in New Issue
Block a user