@ Fixed tabs in side panel being shown as selected while the side panels are closed (hidden)

This commit is contained in:
codeimp 2009-07-23 11:44:32 +00:00
parent 93bcd61f7b
commit 7a63edfc91

View file

@ -210,6 +210,7 @@ namespace CodeImp.DoomBuilder.Controls
d.Control.Dock = DockStyle.Fill;
tabs.TabPages.Add(page);
page.ResumeLayout(true);
if(iscollapsed) tabs.SelectedIndex = -1;
// Go for all controls to add events
Queue<Control> todo = new Queue<Control>();