Added ComboBox to the focus check for the docker panel so that it receives key events (suggested by Xabis)

This commit is contained in:
codeimp 2010-08-01 17:28:13 +00:00
parent 704a7a120a
commit 90f7d1dbf8

View file

@ -87,7 +87,7 @@ namespace CodeImp.DoomBuilder.Controls
// We have focus when we need the keyboard for input
// Otherwise we don't want the focus and the docker may collapse
return (ac is TextBox) || (ac is RichTextBox) || (ac is NumericUpDown);
return (ac is TextBox) || (ac is RichTextBox) || (ac is NumericUpDown) || (ac is ComboBox);
}
}