mirror of
https://github.com/QL-Win/QuickLook.git
synced 2026-05-09 02:07:50 +08:00
Fix #29: stupid DOpus requires a more stupid "dopusrt.exe"... let OllyDbg fxxk it up
This commit is contained in:
@@ -173,8 +173,15 @@ namespace QuickLook
|
||||
}
|
||||
}
|
||||
|
||||
internal bool InvokeViewer(string path = null, bool topMost = true)
|
||||
internal bool InvokeViewer(string path = null, bool topMost = true, bool closeIfSame = false)
|
||||
{
|
||||
if(closeIfSame)
|
||||
if (_currentMainWindow.Visibility == Visibility.Visible && path == _path)
|
||||
{
|
||||
ClosePreview();
|
||||
return false;
|
||||
}
|
||||
|
||||
if (path != null)
|
||||
_path = path;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user