mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
invoke RefreshView without timeout.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user