mirror of
https://github.com/openharmony/ace_ace_engine.git
synced 2026-07-21 09:55:23 -04:00
fix the problem of checkbox crash
Signed-off-by: yan-shuifeng <yanshuifeng@huawei.com> Change-Id: I11749071b61dae0e103f3386482987e694b2f766
This commit is contained in:
@@ -168,7 +168,9 @@ void RenderCheckbox::HandleClick()
|
||||
}
|
||||
} else if (!(component_->GetCheckboxName().empty())) {
|
||||
component_->SetValue(!component_->GetValue());
|
||||
component_->GetGroup()->SetGroupStatus();
|
||||
if (component_->GetGroup()) {
|
||||
component_->GetGroup()->SetGroupStatus();
|
||||
}
|
||||
}
|
||||
}
|
||||
UpdateUIStatus();
|
||||
|
||||
Reference in New Issue
Block a user