Fix a bug when switching target item

This commit is contained in:
Paddy Xu
2017-05-17 20:59:14 +03:00
parent 71dc0a29d9
commit 410411692e

View File

@@ -22,6 +22,9 @@ namespace QuickLook
internal void InvokeRoutine(bool replaceView = false)
{
if (replaceView && _viewWindow.IsLoaded && _viewWindow.Visibility != System.Windows.Visibility.Visible)
return;
if (!WindowHelper.IsFocusedControlExplorerItem())
if (!WindowHelper.IsFocusedWindowSelf())
return;