Fixed errors in the previous commit.
This commit is contained in:
parent
8b3b0c4baa
commit
33d6609675
|
@ -3,7 +3,6 @@
|
||||||
|
|
||||||
// TODO
|
// TODO
|
||||||
// - comctl5 on real windows: tabs get drawn behind checkbox
|
// - comctl5 on real windows: tabs get drawn behind checkbox
|
||||||
// - moving page 1 out doesn't actually move it out
|
|
||||||
|
|
||||||
struct tab {
|
struct tab {
|
||||||
uiTab t;
|
uiTab t;
|
||||||
|
@ -167,6 +166,8 @@ static void tabDelete(uiTab *tt, uintmax_t n)
|
||||||
|
|
||||||
// and keep the page control alive
|
// and keep the page control alive
|
||||||
uiControlSetParent(page->control, NULL);
|
uiControlSetParent(page->control, NULL);
|
||||||
|
// and show it again, as we don't know where it will go next
|
||||||
|
uiControlContainerShow(page->control);
|
||||||
|
|
||||||
uiFree(page);
|
uiFree(page);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue