mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-05 16:10:42 +08:00
FIX:fix crash when there is no desgin data
jira:[STUDIO-6630] Change-Id: I3dfc66164e8f20d564b9f639f72d6ae221722977
This commit is contained in:
parent
5e03cb3024
commit
6c12b711fa
@ -110,8 +110,7 @@ void ProjectPanel::on_reload(wxCommandEvent& evt)
|
||||
update_type = model.model_info->origin;
|
||||
|
||||
|
||||
if (!model.design_info->DesignId.empty()) {
|
||||
|
||||
if (model.design_info && !model.design_info->DesignId.empty()) {
|
||||
if (m_model_id_map.count(model.design_info->DesignId) > 0) {
|
||||
model_id = m_model_id_map[model.design_info->DesignId];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user