mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 11:23:42 +00:00
FIX: [STUDIO-2967] dowload model file not work
Change-Id: Ie4cc2d43f7078b505261f51bac4a34079e2d4836
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -95,6 +95,7 @@ void TextInput::SetLabel(const wxString& label)
|
||||
|
||||
void TextInput::SetIcon(const wxBitmap &icon)
|
||||
{
|
||||
this->icon = ScalableBitmap();
|
||||
this->icon.bmp() = icon;
|
||||
Rescale();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user