Update ArchCutPlane.py

Double quotes... Another pep8 thing...
This commit is contained in:
Roy-043
2022-01-28 11:17:37 +01:00
committed by GitHub
parent 0e50b21667
commit 66eb49cc18

View File

@@ -76,9 +76,9 @@ def cutComponentwithPlane(archObject, cutPlane, sideFace):
class _CommandCutLine:
"the Arch CutPlane command definition"
def GetResources(self):
return {'Pixmap': 'Arch_CutLine',
'MenuText': QtCore.QT_TRANSLATE_NOOP('Arch_CutLine', 'Cut with line'),
'ToolTip': QtCore.QT_TRANSLATE_NOOP('Arch_CutLine', 'Cut an object with a line')}
return {"Pixmap": "Arch_CutLine",
"MenuText": QtCore.QT_TRANSLATE_NOOP("Arch_CutLine", "Cut with line"),
"ToolTip": QtCore.QT_TRANSLATE_NOOP("Arch_CutLine", "Cut an object with a line")}
def IsActive(self):
return len(FreeCADGui.Selection.getSelection()) > 1