mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-12-18 04:00:34 +08:00
Fix #521 again: the same for arrow keys
This commit is contained in:
@@ -107,15 +107,15 @@ namespace QuickLook
|
||||
|
||||
public void SwitchPreview(string path = null)
|
||||
{
|
||||
if (_viewerWindow.Visibility != Visibility.Visible)
|
||||
return;
|
||||
|
||||
if (string.IsNullOrEmpty(path))
|
||||
path = NativeMethods.QuickLook.GetCurrentSelection();
|
||||
|
||||
if (string.IsNullOrEmpty(path))
|
||||
return;
|
||||
|
||||
if (_viewerWindow.Visibility != Visibility.Visible)
|
||||
return;
|
||||
|
||||
InvokePreview(path);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user