Browse Source

PDForm(iOS) - 刷新Undo Redo处理

chenyu 1 year ago
parent
commit
d328b6a1b1
1 changed files with 5 additions and 0 deletions
  1. 5 0
      Form-Ctrl-Demo/Form-Ctrl-Demo/CPDFViewController.m

+ 5 - 0
Form-Ctrl-Demo/Form-Ctrl-Demo/CPDFViewController.m

@@ -156,6 +156,11 @@
     [self.formBar updateStatus];
 }
 
+- (void)selectDocumentRefresh {
+    [super selectDocumentRefresh];
+    [self.formBar initUndoRedo];
+}
+
 - (void)enterViewerMode {
     self.pdfListView.toolModel = CToolModelViewer;
     self.navigationTitle = NSLocalizedString(@"Viewer", nil);