Commit e1a2a45b authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Adapt the redo function (for opengeode simulations)

the new items are added to the list of items at creation time (needed
for the streaming scene). for the Redo, check that the last item is
there and if not, put it back
parent 60034039
......@@ -106,7 +106,8 @@ class AddToMsc(QUndoCommand):
self.handler.cnt_id += 1
self.handler.next_y += self.increase_factor
if self.handler.msc_scene.visible_items[-1] != self.item:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment