fix BimView Qt6 Support (renew)
This commit is contained in:
committed by
Yorik van Havre
parent
8926f47c9c
commit
3d1ccd22ad
@@ -190,7 +190,7 @@ class BIM_Views:
|
||||
|
||||
vm = findWidget()
|
||||
if vm and FreeCAD.ActiveDocument:
|
||||
if vm.isVisible() and (vm.tree.state().name != "EditingState"):
|
||||
if vm.isVisible() and (vm.tree.state() != vm.tree.State.EditingState):
|
||||
vm.tree.clear()
|
||||
import Draft
|
||||
|
||||
|
||||
Reference in New Issue
Block a user