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