Просмотр исходного кода

Merged in marius_stanciu/flatcam_mpl/allow_lowercase_units_in_set_sys_command (pull request #91)

Allow lowercase units in set sys command
Marius Stanciu 7 лет назад
Родитель
Сommit
a75c8bb6e9
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      tclCommands/TclCommandSetSys.py

+ 3 - 1
tclCommands/TclCommandSetSys.py

@@ -55,7 +55,9 @@ class TclCommandSetSys(TclCommand.TclCommand):
             "false": False,
             "False": False,
             "true": True,
-            "True": True
+            "True": True,
+            "mm": "MM",
+            "in": "IN"
         }
 
         if param in self.app.defaults: