[qwaq] Set view owner when setting proxy view

This fixes the debug editor's redraw issues.
This commit is contained in:
Bill Currie 2020-03-31 01:22:54 +09:00
parent 5bb71c2089
commit 17da19b979

View file

@ -39,11 +39,13 @@
}
[self.view hide];
[self.view setContext:nil];
[self.view setOwner:nil];
[view retain];
[self.view release];
self.view = view;
[view setOwner:owner];
[view setContext:[owner context]];
if (state & sfDrawn) {
[view draw];