Merge pull request #11387 from Roy-043/Draft-more-file-extensions-also-in-caps
Draft: more file extensions also in caps
This commit is contained in:
@@ -180,7 +180,7 @@
|
||||
<item row="1" column="1">
|
||||
<widget class="Gui::FileChooser" name="fcFontFile">
|
||||
<property name="filter">
|
||||
<string>Font files (*.ttf *.otf *.pfb)</string>
|
||||
<string>Font files (*.ttf *.otf *.pfb *.TTF *.OTF *.PFB)</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
<item row="0" column="1">
|
||||
<widget class="Gui::FileChooser" name="File">
|
||||
<property name="filter">
|
||||
<string>pattern files (*.pat)</string>
|
||||
<string>Pattern files (*.pat *.PAT)</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -543,7 +543,7 @@ such as "Arial:Bold"</string>
|
||||
</size>
|
||||
</property>
|
||||
<property name="filter">
|
||||
<string>Font files (*.ttf *.otf *.pfb)</string>
|
||||
<string>Font files (*.ttf *.otf *.pfb *.TTF *.OTF *.PFB)</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Select a font file</string>
|
||||
|
||||
@@ -293,7 +293,7 @@ class AnnotationStyleEditor(gui_base.GuiCommandSimplest):
|
||||
QtGui.QApplication.activeWindow(),
|
||||
translate("draft","Open styles file"),
|
||||
None,
|
||||
translate("draft","JSON file (*.json)"))
|
||||
translate("draft","JSON files (*.json *.JSON)"))
|
||||
if filename and filename[0]:
|
||||
nstyles = {}
|
||||
with open(filename[0]) as f:
|
||||
|
||||
Reference in New Issue
Block a user