Просмотр исходного кода

Update SettingsWindow.cs (#4785)

fix saving if directory path directly pasted in to the text field instead of using FileChooser.
Erdem Keskin 3 лет назад
Родитель
Сommit
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();
         }
     }
-}
+}