Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56b9a0c
)
ecere/gui/Window: Fixed crash under MemoryGuard due to reassigning master from within...
author
Jerome St-Louis
<jerome@ecere.com>
Tue, 6 Mar 2012 03:34:48 +0000
(22:34 -0500)
committer
Jerome St-Louis
<jerome@ecere.com>
Tue, 6 Mar 2012 03:34:48 +0000
(22:34 -0500)
ecere/src/gui/Window.ec
patch
|
blob
|
history
diff --git
a/ecere/src/gui/Window.ec
b/ecere/src/gui/Window.ec
index
c9b922e
..
6be0f73
100644
(file)
--- a/
ecere/src/gui/Window.ec
+++ b/
ecere/src/gui/Window.ec
@@
-6135,7
+6135,13
@@
public:
Window slave = link.data;
next = link.next;
if(!slave.created && (slave.autoCreate || slave.wasCreated))
+ {
slave.Create();
+ // Things might have happened that invalidated 'next'...
+ // Start over the search for slaves to create.
+ // (Added this to fix crash with Stacker & Toolbar)
+ next = slaves.first;
+ }
}
}