update Entity Attributes scrollbar on deselection; Qt updates on widget addition, doesn't on chosen way of deletion

This commit is contained in:
Garux 2023-09-19 20:18:46 +06:00
parent 4b96cb6744
commit eba6783b89

View File

@ -956,6 +956,7 @@ void EntityInspector_setEntityClass( EntityClass *eclass ){
delete item->widget();
delete item;
}
g_attributeBox->update(); // trigger scrollbar update
GlobalEntityAttributes_clear();
for ( const EntityClassAttributePair &pair : eclass->m_attributes )