From 6ba1bc35b8dbe8458e080786be6767e7eea513e4 Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Mon, 2 Sep 2019 13:00:02 +0200 Subject: [PATCH] FEM: commands and manager, typo in property value --- src/Mod/Fem/femcommands/commands.py | 2 +- src/Mod/Fem/femcommands/manager.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/Fem/femcommands/commands.py b/src/Mod/Fem/femcommands/commands.py index 7898f8a978..a124b4a084 100644 --- a/src/Mod/Fem/femcommands/commands.py +++ b/src/Mod/Fem/femcommands/commands.py @@ -464,7 +464,7 @@ class _MaterialEditor(CommandManager): "Opens the FreeCAD material editor" ) } - self.is_active = "allways" + self.is_active = "always" def Activated(self): FreeCADGui.addModule("MaterialEditor") diff --git a/src/Mod/Fem/femcommands/manager.py b/src/Mod/Fem/femcommands/manager.py index 75937cf5ce..eb2f7ddaa7 100644 --- a/src/Mod/Fem/femcommands/manager.py +++ b/src/Mod/Fem/femcommands/manager.py @@ -58,7 +58,7 @@ class CommandManager(object): def IsActive(self): if not self.is_active: active = False - elif self.is_active == "allways": + elif self.is_active == "always": active = True elif self.is_active == "with_document": active = FreeCADGui.ActiveDocument is not None