diff --git a/Redaction/Configuration.xba b/Redaction/Configuration.xba index f0df6ad..5fff9cf 100644 --- a/Redaction/Configuration.xba +++ b/Redaction/Configuration.xba @@ -1,7 +1,7 @@ Public Const redactionExtensionName As String = "cleanAndValidate" -Public Const redactionExtensionVersion = "0.9.21" +Public Const redactionExtensionVersion = "0.9.22" Function initRedactionConfiguration() On Error Goto exceptionHandler Dim regFactory As Object @@ -22,7 +22,7 @@ Function initRedactionConfiguration() exceptionHandler: Resume Next On Error Goto exceptionHandler2 - If Not propSetInfo.hasPropertyByName("complexity") Then + If Not propSetInfo.hasPropertyByName("defaultTemplate") Then redactionProps.addProperty("defaultTemplate", 128, "Статья.ott") EndIf exceptionHandler2: @@ -165,6 +165,7 @@ Sub setDeafultTemplate() config.setPropertyValue("defaultTemplate",fileName) Dim templatePath As String templatePath = getTemplatePath() + MkDir(templatePath) FileCopy(selectedTemplate, templatePath & "/" & fileName) End Sub @@ -198,4 +199,4 @@ End Sub End If getFileURLDialog = "" End Function - \ No newline at end of file +