mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-10-01 12:30:00 +02: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:
parent
b7d2bff6aa
commit
6279f5e430
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue