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))
{
_gameDirsBoxStore.AppendValues(_addGameDirBox.Buffer.Text);
_directoryChanged = true;
}
else
{