File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -399,8 +399,7 @@ public void SetSelectedPathOrNavigate(PathNavigationEventArgs e)
399
399
foreach ( var item in ColumnHost . ActiveBlades )
400
400
{
401
401
if ( ( item . Content as Frame ) ? . Content is ColumnShellPage s &&
402
- PathNormalization . NormalizePath ( s . FilesystemViewModel . WorkingDirectory ) ==
403
- PathNormalization . NormalizePath ( e . ItemPath ) )
402
+ NormalizePath ( s . FilesystemViewModel ? . WorkingDirectory ) == NormalizePath ( e . ItemPath ) )
404
403
{
405
404
DismissOtherBlades ( item ) ;
406
405
return ;
@@ -411,8 +410,7 @@ public void SetSelectedPathOrNavigate(PathNavigationEventArgs e)
411
410
if ( ParentShellPageInstance is null )
412
411
return ;
413
412
414
- if ( NormalizePath ( ParentShellPageInstance . FilesystemViewModel ? . WorkingDirectory ) !=
415
- NormalizePath ( e . ItemPath ) )
413
+ if ( NormalizePath ( ParentShellPageInstance . FilesystemViewModel ? . WorkingDirectory ) != NormalizePath ( e . ItemPath ) )
416
414
ParentShellPageInstance . NavigateToPath ( e . ItemPath ) ;
417
415
else
418
416
DismissOtherBlades ( 0 ) ;
Original file line number Diff line number Diff line change @@ -56,7 +56,9 @@ protected override void OnNavigatedTo(NavigationEventArgs eventArgs)
56
56
}
57
57
58
58
protected override void ShellPage_NavigationRequested ( object sender , PathNavigationEventArgs e )
59
- => this . FindAscendant < ColumnViewBrowser > ( ) . SetSelectedPathOrNavigate ( e ) ;
59
+ {
60
+ this . FindAscendant < ColumnViewBrowser > ( ) ? . SetSelectedPathOrNavigate ( e ) ;
61
+ }
60
62
61
63
protected override void OnNavigationParamsChanged ( )
62
64
{
You can’t perform that action at this time.
0 commit comments