private void onSettingsChanged(SettingsChangedMessage message) {
      settings = message.Settings;

      setupWatchers();
    }
    private async void onSettingsChanged(SettingsChangedMessage message) {
      if (settings.PathToGame != oldPathToGame) {
        viewModel.Files.ForEach(f => f.PropertyChanged -= onFileEntityViewModelChanged);

        messenger.Send(new FileLoadingMessage());

        await loadAllFiles();
      }

      oldPathToGame = settings.PathToGame;
    }
Exemple #3
0
 private void onSettingsChanged(SettingsChangedMessage message) {
   settings = message.Settings;
 }