mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
ChangeQuery after window is visible
This commit is contained in:
parent
79a6fda289
commit
1fdaec2648
1 changed files with 6 additions and 6 deletions
|
|
@ -731,7 +731,7 @@ namespace Flow.Launcher.ViewModel
|
|||
ShellWindows shellWindows = new SHDocVw.ShellWindows();
|
||||
|
||||
// loop through all windows
|
||||
foreach (InternetExplorer window in shellWindows)
|
||||
foreach (SHDocVw.InternetExplorer window in shellWindows)
|
||||
{
|
||||
// match active window
|
||||
if (window.HWND == (int)handle)
|
||||
|
|
@ -793,10 +793,7 @@ namespace Flow.Launcher.ViewModel
|
|||
public void Show()
|
||||
{
|
||||
string _explorerPath = GetActiveExplorerPath();
|
||||
if (_explorerPath != null)
|
||||
{
|
||||
ChangeQueryText($"{_explorerPath}\\>");
|
||||
}
|
||||
|
||||
|
||||
if (_settings.UseSound)
|
||||
{
|
||||
|
|
@ -813,7 +810,10 @@ namespace Flow.Launcher.ViewModel
|
|||
((MainWindow)Application.Current.MainWindow).WindowAnimator();
|
||||
|
||||
MainWindowOpacity = 1;
|
||||
|
||||
if (_explorerPath != null && _explorerPath != "File Explorer")
|
||||
{
|
||||
ChangeQueryText($"{_explorerPath}\\>");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue