public void ShowPreferences(string currentTab)
{
//Settings.Reload();
+
var preferences = new PreferencesViewModel(_windowManager, _events, this, Settings,currentTab);
_windowManager.ShowDialog(preferences);
var account = Accounts.FirstOrDefault(acc => acc.AccountKey == message.Account.AccountKey);
if (account != null)
{
- this._pollAgent.SetSelectivePaths(account, message.Added, message.Removed);
+ _pollAgent.SetSelectivePaths(account, message.Added, message.Removed);
+ _pollAgent.SynchNow();
}
});