BIM: Fix BIM_Leader callback bug

Probably due to changes in gui_lines `self.call` was no longer ended.

Fixes: #17283.

Forum topic:
https://forum.freecad.org/viewtopic.php?t=91413
This commit is contained in:
Roy-043
2024-10-17 12:14:20 +02:00
committed by Yorik van Havre
parent 64d8ab5e55
commit acb18c2745
+1
View File
@@ -52,6 +52,7 @@ class BIM_Leader(gui_lines.Line):
def finish(self, closed=False, cont=False):
import DraftVecUtils
self.end_callbacks(self.call)
self.removeTemporaryObject()
if getattr(self,"oldWP",None):
FreeCAD.DraftWorkingPlane = self.oldWP