FEM: commands and manager, typo in property value
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user