This commit is contained in:
Roy-043
2023-11-14 00:04:33 +01:00
parent 7ac0a44136
commit 3f7dedf8a4
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@
<item row="0" column="1">
<widget class="Gui::FileChooser" name="File">
<property name="filter">
<string>pattern files (*.pat *.PAT)</string>
<string>Pattern files (*.pat *.PAT)</string>
</property>
</widget>
</item>

View File

@@ -293,7 +293,7 @@ class AnnotationStyleEditor(gui_base.GuiCommandSimplest):
QtGui.QApplication.activeWindow(),
translate("draft","Open styles file"),
None,
translate("draft","JSON file (*.json *.JSON)"))
translate("draft","JSON files (*.json *.JSON)"))
if filename and filename[0]:
nstyles = {}
with open(filename[0]) as f: