Revision 2115e2a5 trunk/Pithos.Client.WPF/FileProperties/FilePropertiesViewModel.cs
b/trunk/Pithos.Client.WPF/FileProperties/FilePropertiesViewModel.cs | ||
---|---|---|
507 | 507 |
get { return _permissions; } |
508 | 508 |
} |
509 | 509 |
|
510 |
public async void Reload()
|
|
510 |
public async Task Reload()
|
|
511 | 511 |
{ |
512 | 512 |
PithosFile=await Shell.RefreshObjectInfo(PithosFile); |
513 | 513 |
} |
... | ... | |
517 | 517 |
base.CanClose(callback); |
518 | 518 |
} |
519 | 519 |
|
520 |
public void SaveChanges()
|
|
520 |
public async Task SaveChanges()
|
|
521 | 521 |
{ |
522 |
DoSave(); |
|
522 |
await DoSave();
|
|
523 | 523 |
TryClose(); |
524 | 524 |
} |
525 | 525 |
|
... | ... | |
534 | 534 |
get { return TagsChanged || PermissionsChanged; } |
535 | 535 |
} |
536 | 536 |
|
537 |
public void ApplyChanges()
|
|
537 |
public async Task ApplyChanges()
|
|
538 | 538 |
{ |
539 |
DoSave(); |
|
539 |
await DoSave();
|
|
540 | 540 |
} |
541 | 541 |
|
542 |
private async void DoSave()
|
|
542 |
private async Task DoSave()
|
|
543 | 543 |
{ |
544 | 544 |
try |
545 | 545 |
{ |
Also available in: Unified diff