FIX: [STUDIO-2967] dowload model file not work

Change-Id: Ie4cc2d43f7078b505261f51bac4a34079e2d4836
This commit is contained in:
chunmao.guo 2023-05-31 13:30:49 +08:00 committed by Lane.Wei
parent 81cb240dcc
commit 3b5ae871af
3 changed files with 5 additions and 2 deletions

View file

@ -68,6 +68,8 @@ int ComboBox::GetSelection() const { return drop.GetSelection(); }
void ComboBox::SetSelection(int n)
{
if (n == drop.selection)
return;
drop.SetSelection(n);
SetLabel(drop.GetValue());
if (drop.selection >= 0)