Only insert when explorer is active

This commit is contained in:
Garulf 2021-12-15 05:24:31 -05:00
parent fe0153be08
commit 79a6fda289

View file

@ -793,8 +793,11 @@ namespace Flow.Launcher.ViewModel
public void Show()
{
string _explorerPath = GetActiveExplorerPath();
ChangeQueryText($"{_explorerPath}\\>");
if (_explorerPath != null)
{
ChangeQueryText($"{_explorerPath}\\>");
}
if (_settings.UseSound)
{
MediaPlayer media = new MediaPlayer();