浏览代码

Update SettingsWindow.cs (#4785)

fix saving if directory path directly pasted in to the text field instead of using FileChooser.
Erdem Keskin 3 年之前
父节点
当前提交
6279f5e430
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/Ryujinx/Ui/Windows/SettingsWindow.cs

+ 2 - 1
src/Ryujinx/Ui/Windows/SettingsWindow.cs

@@ -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();
         }
     }
-}
+}