File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -731,7 +731,7 @@ private static string GetActiveExplorerPath()
731
731
ShellWindows shellWindows = new SHDocVw . ShellWindows ( ) ;
732
732
733
733
// loop through all windows
734
- foreach ( InternetExplorer window in shellWindows )
734
+ foreach ( SHDocVw . InternetExplorer window in shellWindows )
735
735
{
736
736
// match active window
737
737
if ( window . HWND == ( int ) handle )
@@ -793,10 +793,7 @@ public void ToggleFlowLauncher()
793
793
public void Show ( )
794
794
{
795
795
string _explorerPath = GetActiveExplorerPath ( ) ;
796
- if ( _explorerPath != null )
797
- {
798
- ChangeQueryText ( $ "{ _explorerPath } \\ >") ;
799
- }
796
+
800
797
801
798
if ( _settings . UseSound )
802
799
{
@@ -813,7 +810,10 @@ public void Show()
813
810
( ( MainWindow ) Application . Current . MainWindow ) . WindowAnimator ( ) ;
814
811
815
812
MainWindowOpacity = 1 ;
816
-
813
+ if ( _explorerPath != null && _explorerPath != "File Explorer" )
814
+ {
815
+ ChangeQueryText ( $ "{ _explorerPath } \\ >") ;
816
+ }
817
817
818
818
}
819
819
You can’t perform that action at this time.
0 commit comments