FEM: commands and manager, typo in property value

This commit is contained in:
Bernd Hahnebach
2019-09-02 13:00:02 +02:00
parent daaab377d0
commit 6ba1bc35b8
2 changed files with 2 additions and 2 deletions

View File

@@ -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")

View File

@@ -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