mirror of
https://github.com/QL-Win/QuickLook.git
synced 2026-03-26 01:01:23 +08:00
@@ -121,7 +121,7 @@ internal class PipeServerManager : IDisposable
|
||||
|
||||
var pipeMessage = split[0];
|
||||
var path = split[1];
|
||||
var option = split.Length >= 3 ? split[2] : string.Empty;
|
||||
var option = split.Length >= 3 ? split[2] : null;
|
||||
|
||||
switch (pipeMessage)
|
||||
{
|
||||
|
||||
@@ -79,7 +79,7 @@ internal class ViewWindowManager : IDisposable
|
||||
if (string.IsNullOrEmpty(path))
|
||||
path = NativeMethods.QuickLook.GetCurrentSelection();
|
||||
|
||||
if (options != null)
|
||||
if (!string.IsNullOrEmpty(options))
|
||||
InvokePreviewWithOption(path, options);
|
||||
else
|
||||
if (_viewerWindow.Visibility == Visibility.Visible && (string.IsNullOrEmpty(path) || path == _invokedPath))
|
||||
|
||||
Reference in New Issue
Block a user