Arch: Hide/show windows together with their parents - fixes #1733

This commit is contained in:
Yorik van Havre
2014-09-16 20:03:50 -03:00
parent 9f7956b17e
commit f1dffbb90e
3 changed files with 9 additions and 4 deletions

View File

@@ -392,7 +392,7 @@ class _CommandWindow:
self.FORMAT = DraftGui.makeFormatSpec(self.DECIMALS,'Length')
# auto mode
if sel:
if sel and FreeCADGui.Selection.getSelectionEx():
obj = sel[0]
if Draft.getType(obj) in AllowedHosts:
# make sure only one face is selected