https://bugs.kde.org/show_bug.cgi?id=371990
--- Comment #13 from Ralf Habacker <ralf.habac...@freenet.de> --- Comment on attachment 102196 --> https://bugs.kde.org/attachment.cgi?id=102196 Turn PinPortBase into child item I checked if this it works using the following use cases: 1. Add component diagram 2. Add component 3. add two pins 4. save file 5. load file -> okay 6. delete second pin 7. delete first pin 8. undo both delete -> okay 9 set different color for component and each pin 10. save and reload -> okay Looks good :-) 11. delete second ping 12. delete component 13. undo component delete 14. undo -> regardless of number of undo the first pin is not restored and need to be readded manual (may be a different bug) Running after creating a new file 1. Add component diagram 2. Add component 3. add two pins 4. delete second ping 5. delete component 6. undo component delete 7. repeated undo -> I get Q_ASSERT in CmdBaseWidgetCommand::widget() -- You are receiving this mail because: You are watching all bug changes.