[macos] fix PDF form file extension

This commit is contained in:
maxkadushkin
2024-04-25 17:21:55 +03:00
parent 29c06d84ed
commit 39042ad704

View File

@ -80,6 +80,7 @@
NSUInteger documentNameCounter;
NSUInteger spreadsheetNameCounter;
NSUInteger presentationNameCounter;
NSUInteger pdfNameCounter;
}
@property (weak) ASCTabsControl *tabsControl;
@property (nonatomic) NSCefView * cefStartPageView;
@ -1904,7 +1905,7 @@
break;
case AscEditorType::etDocumentMasterOForm:
case AscEditorType::etDocumentMasterForm:
docName = [NSString stringWithFormat:NSLocalizedString(@"Document %ld.docxf", nil), ++documentNameCounter];
docName = [NSString stringWithFormat:NSLocalizedString(@"Document %ld.pdf", nil), ++pdfNameCounter];
break;
default: break;
}