Hide external preview when hiding flow

This commit is contained in:
Vic 2023-04-22 17:16:02 +08:00
parent ba8bb3a3b8
commit 098e90b864

View file

@ -1110,6 +1110,11 @@ namespace Flow.Launcher.ViewModel
// Trick for no delay // Trick for no delay
MainWindowOpacity = 0; MainWindowOpacity = 0;
if (ExternalPreviewOpen)
{
_ = CloseQuickLookPreviewAsync();
}
if (!SelectedIsFromQueryResults()) if (!SelectedIsFromQueryResults())
{ {
SelectedResults = Results; SelectedResults = Results;