Fixed a crash when rescaling or changing color mode (Windows, macOS)
This commit is contained in:
parent
27a7ddccb6
commit
9420f47b26
@ -1706,8 +1706,10 @@ void ObjectDataViewModel::Rescale()
|
||||
break;
|
||||
case itLayerRoot:
|
||||
node->m_bmp = create_scaled_bitmap(LayerRootIcon);
|
||||
break;
|
||||
case itLayer:
|
||||
node->m_bmp = create_scaled_bitmap(LayerIcon);
|
||||
break;
|
||||
case itInfo:
|
||||
node->m_bmp = m_info_bmps.at(node->m_info_item_type);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user