mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-12-24 02:00:55 +08:00
Check if the selected path exists: histories in recent file list may be deleted
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
@@ -27,6 +28,8 @@ namespace QuickLook
|
||||
var path = GetCurrentSelection();
|
||||
if (string.IsNullOrEmpty(path))
|
||||
return;
|
||||
if (!Directory.Exists(path) && !File.Exists(path))
|
||||
return;
|
||||
|
||||
var matchedPlugin = PluginManager.GetInstance().FindMatch(path);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user