Revision dd5f5163 trunk/Pithos.Client.WPF/Preferences/PreferencesViewModel.cs
b/trunk/Pithos.Client.WPF/Preferences/PreferencesViewModel.cs | ||
---|---|---|
146 | 146 |
protected override void OnViewLoaded(object view) |
147 | 147 |
{ |
148 | 148 |
base.OnViewLoaded(view); |
149 |
|
|
149 | 150 |
Settings.Reload(); |
151 |
|
|
150 | 152 |
Accounts.Clear(); |
151 | 153 |
|
152 | 154 |
if (Settings.Accounts == null) |
... | ... | |
158 | 160 |
select new AccountViewModel(account); |
159 | 161 |
|
160 | 162 |
Accounts.AddFromEnumerable(accountVMs); |
163 |
|
|
161 | 164 |
} |
162 | 165 |
|
163 | 166 |
private string _selectedTab = "General"; |
... | ... | |
772 | 775 |
{ |
773 | 776 |
monitor.RootPath = newPath; |
774 | 777 |
if (CurrentAccount.IsActive) |
775 |
monitor.Start(); |
|
778 |
Shell.StartMonitor(monitor); |
|
779 |
|
|
776 | 780 |
} |
777 | 781 |
else |
778 | 782 |
Shell.MonitorAccount(CurrentAccount.Account); |
Also available in: Unified diff