Browse Source

其他- 纠正错误代码。修复BugID:16773 打开帮助文档后,其他文档无法在APP中打开(打开方式:双击打开、右键打开都无效)

ZhouJieSheng 1 year ago
parent
commit
060e84d1e7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      PDF Office/Views/MainWindow.xaml.cs

+ 2 - 2
PDF Office/Views/MainWindow.xaml.cs

@@ -88,10 +88,10 @@ namespace PDF_Master.Views
                     {
 
                         //打开传过来的文件路径
-                        if (App.OpenedFileList.Contains(App.GuidPDFPath))
+                        if (App.OpenedFileList.Contains(filePath))
                         {
                             //如果已经打开时,则选中文档所在页签
-                            App.mainWindowViewModel.SelectItem(App.GuidPDFPath);
+                            App.mainWindowViewModel.SelectItem(filePath);
                         }
                         else
                         {