Skip to content

Commit 231e92c

Browse files
PlotTreeWidget.py comment correction
1 parent a5f20f0 commit 231e92c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plotting_refactor/PlotTreeWidget.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ def dropEvent(self, event):
9696
self.dropSignal.emit(redraw_fitpage_index, redraw_subtab_index)
9797
event.acceptProposedAction()
9898

99-
# if the drag object is a modifier, the tab also needs to be redrawn. Here, no serialization of a pointer is
100-
# included.
99+
# Here, the serialization also plays a role, because the modifier is cloned in the process and used to create
100+
# a new child that the modifier will be for the target item.
101101
elif event.mimeData().data('Modifier'):
102102
data_address = int(event.mimeData().data('Modifier').data())
103103
data = ctypes.cast(data_address, ctypes.py_object).value

0 commit comments

Comments
 (0)