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 Matt Heins
parent afe0067fb3
commit 6dd55af50a

View file

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