fix(color): crash when changing 'Mode' for 'Adjust' SF (#5219)
This commit is contained in:
+2
-1
@@ -90,7 +90,8 @@ std::string Choice::getLabelText()
|
||||
|
||||
void ChoiceBase::update()
|
||||
{
|
||||
lv_label_set_text(label, getLabelText().c_str());
|
||||
if (!deleted())
|
||||
lv_label_set_text(label, getLabelText().c_str());
|
||||
}
|
||||
|
||||
Choice::Choice(Window* parent, const rect_t& rect, int vmin, int vmax,
|
||||
|
||||
Reference in New Issue
Block a user