FEM: code formating, max line length < 100, fem gui objects
This commit is contained in:
@@ -60,12 +60,14 @@ class ViewProxy(object):
|
||||
|
||||
def setEdit(self, vobj, mode=0):
|
||||
# needs to be overwritten if task panel exists
|
||||
# avoid edit mode by return False, https://forum.freecadweb.org/viewtopic.php?t=12139&start=10#p161062
|
||||
# avoid edit mode by return False
|
||||
# https://forum.freecadweb.org/viewtopic.php?t=12139&start=10#p161062
|
||||
return False
|
||||
|
||||
def doubleClicked(self, vobj):
|
||||
guidoc = FreeCADGui.getDocument(vobj.Object.Document)
|
||||
# check if another VP is in edit mode, https://forum.freecadweb.org/viewtopic.php?t=13077#p104702
|
||||
# check if another VP is in edit mode
|
||||
# https://forum.freecadweb.org/viewtopic.php?t=13077#p104702
|
||||
if not guidoc.getInEdit():
|
||||
guidoc.setEdit(vobj.Object.Name)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user