|
@@ -1,5 +1,6 @@
|
|
|
using ComPDFKit.PDFDocument;
|
|
|
using ComPDFKitViewer.PdfViewer;
|
|
|
+using Dropbox.Api.Team;
|
|
|
using Microsoft.Win32;
|
|
|
using PDF_Master.CustomControl;
|
|
|
using PDF_Master.EventAggregators;
|
|
@@ -812,7 +813,7 @@ namespace PDF_Master.ViewModels.PageEdit
|
|
|
//先删除
|
|
|
DoRemoveSelectedPages(indexList, false, true);
|
|
|
|
|
|
- if (indexList.Count > 0 && indexList.Count == PDFViewer.Document.PageCount)
|
|
|
+ if ( PDFViewer.Document.PageCount==0)
|
|
|
{
|
|
|
index = 0;
|
|
|
}
|
|
@@ -3530,11 +3531,6 @@ namespace PDF_Master.ViewModels.PageEdit
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- internal void GoToPage(int index)
|
|
|
- {
|
|
|
- PDFViewer.GoToPage(index);
|
|
|
- }
|
|
|
-
|
|
|
#endregion Navigate
|
|
|
}
|
|
|
}
|