We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a754e4 commit 5c6d57bCopy full SHA for 5c6d57b
docs/notes/bugfix-19158.md
@@ -0,0 +1 @@
1
+# Prevent crash when using undo to bring back removed controls
engine/src/control.cpp
@@ -582,6 +582,7 @@ void MCControl::undo(Ustruct *us)
582
{
583
MCCard *card = (MCCard *)parent->getcard();
584
getstack()->appendcontrol(this);
585
+ this->MCObject::m_weak_proxy = new MCObjectProxyBase(this);
586
card->newcontrol(this, False);
587
Boolean oldrlg = MCrelayergrouped;
588
MCrelayergrouped = True;
0 commit comments