From e855f3d8889ed62614e3ac6734567b949c9e13ea Mon Sep 17 00:00:00 2001 From: morkt Date: Wed, 17 Jun 2015 17:34:59 +0400 Subject: [PATCH] invoke RefreshView without timeout. --- MainWindow.xaml.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs index 32ad174e..ec4b6c2a 100644 --- a/MainWindow.xaml.cs +++ b/MainWindow.xaml.cs @@ -334,8 +334,7 @@ namespace GARbro.GUI if (watcher.Path == ViewModel.Path) { watcher.EnableRaisingEvents = false; - Dispatcher.Invoke (RefreshView, DispatcherPriority.Send, CancellationToken.None, - TimeSpan.FromMilliseconds (100)); + Dispatcher.Invoke (RefreshView); } } #endregion