소스 검색

其他- 纠正错误代码。修复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
                         {