FIX: combox can not pop if hide with entry keyevent
Change-Id: I0b86ebadd524eafb69ba810f7a1b899ecb25914c
This commit is contained in:
parent
84a4622fdf
commit
48aed7fbe5
|
@ -236,7 +236,7 @@ void ComboBox::keyDown(wxKeyEvent& event)
|
|||
case WXK_RETURN:
|
||||
case WXK_SPACE:
|
||||
if (drop_down) {
|
||||
drop.Hide();
|
||||
drop.DismissAndNotify();
|
||||
} else if (drop.HasDismissLongTime()) {
|
||||
drop.autoPosition();
|
||||
drop_down = true;
|
||||
|
|
Loading…
Reference in New Issue