mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-24 04:32:09 +00:00
FIX: support key event in ComboBox
Change-Id: Iac5f114ff45123f0a6b1bc24ef289a6112475183
This commit is contained in:
@@ -71,7 +71,9 @@ void DropDown::SetSelection(int n)
|
||||
assert(n < (int) texts.size());
|
||||
if (n >= (int) texts.size())
|
||||
n = -1;
|
||||
if (selection == n) return;
|
||||
selection = n;
|
||||
paintNow();
|
||||
}
|
||||
|
||||
wxString DropDown::GetValue() const
|
||||
|
||||
Reference in New Issue
Block a user