Skip to content

Commit 15e01f2

Browse files
committed
Fix crash when opening folder in new tab caused by checking for wrong drive item tag
1 parent f1d7add commit 15e01f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Files/ProHome.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ private void Page_Loaded(object sender, RoutedEventArgs e)
141141
ItemDisplayFrame.Navigate(typeof(GenericFileBrowser), NavParams, new SuppressNavigationTransitionInfo());
142142
if (NavParams.Contains("C:", StringComparison.OrdinalIgnoreCase))
143143
{
144-
DrivesList.SelectedItem = App.foundDrives.First(x => x.tag.ToString().Equals("LocalDisk", StringComparison.OrdinalIgnoreCase));
144+
DrivesList.SelectedItem = App.foundDrives.First(x => x.tag.ToString().Equals("C:\\", StringComparison.OrdinalIgnoreCase));
145145
}
146146
else
147147
{

0 commit comments

Comments
 (0)