Skip to content

Commit 540971d

Browse files
committed
Merge pull request #1167 from chaosphere2112/target_detach
Target will now detach when configurator detaches
2 parents 4e33ec1 + 6a77f5f commit 540971d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Packages/vcs/Lib/configurator.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,10 @@ def detach(self):
279279
self.marker_button.detach()
280280
self.marker_button = None
281281

282+
if self.target is not None:
283+
self.target.detach()
284+
self.target = None
285+
282286
if self.animation_timer is not None:
283287
self.stop_animating()
284288

0 commit comments

Comments
 (0)