This commit is contained in:
Vulpovile
2022-10-03 20:50:05 -07:00
parent b66d524d7f
commit f5aaef5b16

View File

@@ -369,9 +369,7 @@ void PropertyWindow::ClearProperties()
{ {
if(g_dataModel != NULL) if(g_dataModel != NULL)
{ {
std::vector<Instance *> dm; g_dataModel->getSelectionService()->addSelected(g_dataModel);
dm.push_back(g_dataModel);
UpdateSelected(dm);
} }
else else
{ {