浏览代码

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

ZhouJieSheng 1 年之前
父节点
当前提交
060e84d1e7
共有 1 个文件被更改,包括 2 次插入2 次删除
  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
                         {