mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-22 22:36:25 +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:
parent
b7d2bff6aa
commit
6279f5e430
@ -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 New Issue
Block a user