mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-15 12:49:13 +00:00
Show office exception instead of crash
This commit is contained in:
@@ -44,9 +44,6 @@ public class PreviewPanel : WindowsFormsHost, IDisposable
|
||||
_control = new PreviewHandlerHost();
|
||||
Child = _control;
|
||||
_control.Open(file);
|
||||
|
||||
//SetForegroundWindow(new WindowInteropHelper(context.ViewerWindow).Handle);
|
||||
//SetActiveWindow(presenter.Handle);
|
||||
}
|
||||
|
||||
[DllImport("user32.dll")]
|
||||
|
Reference in New Issue
Block a user