Skip to content

Commit

Permalink
FEM: commands and manager, typo in property value
Browse files Browse the repository at this point in the history
  • Loading branch information
berndhahnebach committed Sep 2, 2019
1 parent daaab37 commit 6ba1bc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Mod/Fem/femcommands/commands.py
Expand Up @@ -464,7 +464,7 @@ def __init__(self):
"Opens the FreeCAD material editor"
)
}
self.is_active = "allways"
self.is_active = "always"

def Activated(self):
FreeCADGui.addModule("MaterialEditor")
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Fem/femcommands/manager.py
Expand Up @@ -58,7 +58,7 @@ def GetResources(self):
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
Expand Down

0 comments on commit 6ba1bc3

Please sign in to comment.