1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-24 09:16:04 +00:00

Update SettingsWindow.cs (#4785)

fix saving if directory path directly pasted in to the text field instead of using FileChooser.
This commit is contained in:
Erdem Keskin 2023-05-03 17:04:40 +03:00 committed by GitHub
parent b7d2bff6aa
commit 6279f5e430
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -720,6 +720,7 @@ namespace Ryujinx.Ui.Windows
if (Directory.Exists(_addGameDirBox.Buffer.Text)) if (Directory.Exists(_addGameDirBox.Buffer.Text))
{ {
_gameDirsBoxStore.AppendValues(_addGameDirBox.Buffer.Text); _gameDirsBoxStore.AppendValues(_addGameDirBox.Buffer.Text);
_directoryChanged = true;
} }
else else
{ {
@ -835,4 +836,4 @@ namespace Ryujinx.Ui.Windows
Dispose(); Dispose();
} }
} }
} }