From eba6783b890bc082b176e1250e1a4fa8d0474ea6 Mon Sep 17 00:00:00 2001 From: Garux Date: Tue, 19 Sep 2023 20:18:46 +0600 Subject: [PATCH] update Entity Attributes scrollbar on deselection; Qt updates on widget addition, doesn't on chosen way of deletion --- radiant/entityinspector.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/radiant/entityinspector.cpp b/radiant/entityinspector.cpp index e8ac20b8..209dbd72 100644 --- a/radiant/entityinspector.cpp +++ b/radiant/entityinspector.cpp @@ -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 )