File formats: Uppercase file types when importing a file. (#10977)

* Added uppercase extensions for supported formats

In the file App\Application.cpp

* Added file types in upper case

* Adds uppercase file types to the file import filter.

Fixes #10879

* Added filter for *.fcmacro *.fcscript
This commit is contained in:
Victor Predko
2023-10-16 20:40:46 +03:00
committed by GitHub
parent 0ee48bfea5
commit e1206a3fac
18 changed files with 46 additions and 46 deletions

View File

@@ -46,6 +46,6 @@ class WebWorkbench(Workbench):
Gui.addWorkbench(WebWorkbench())
# Append the open handler
FreeCAD.addImportType("Web Page (*.html *.xhtml)", "WebGui")
FreeCAD.addImportType("Web Page (*.html *.HTML *.xhtml *.XHTML)", "WebGui")
FreeCAD.__unit_test__ += ["TestWebGui"]