invoke RefreshView without timeout.

This commit is contained in:
morkt
2015-06-17 17:34:59 +04:00
parent df66b70a38
commit e855f3d888

View File

@@ -334,8 +334,7 @@ namespace GARbro.GUI
if (watcher.Path == ViewModel.Path) if (watcher.Path == ViewModel.Path)
{ {
watcher.EnableRaisingEvents = false; watcher.EnableRaisingEvents = false;
Dispatcher.Invoke (RefreshView, DispatcherPriority.Send, CancellationToken.None, Dispatcher.Invoke (RefreshView);
TimeSpan.FromMilliseconds (100));
} }
} }
#endregion #endregion