mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
FIX: combox can not pop if hide with entry keyevent
Change-Id: I0b86ebadd524eafb69ba810f7a1b899ecb25914c
This commit is contained in:
parent
84a4622fdf
commit
48aed7fbe5
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ void ComboBox::keyDown(wxKeyEvent& event)
|
||||||
case WXK_RETURN:
|
case WXK_RETURN:
|
||||||
case WXK_SPACE:
|
case WXK_SPACE:
|
||||||
if (drop_down) {
|
if (drop_down) {
|
||||||
drop.Hide();
|
drop.DismissAndNotify();
|
||||||
} else if (drop.HasDismissLongTime()) {
|
} else if (drop.HasDismissLongTime()) {
|
||||||
drop.autoPosition();
|
drop.autoPosition();
|
||||||
drop_down = true;
|
drop_down = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue