diff --git a/Blocks3D.exe.manifest b/Blocks3D.exe.manifest index c560b3b..90d0cc6 100644 --- a/Blocks3D.exe.manifest +++ b/Blocks3D.exe.manifest @@ -1,7 +1,7 @@ instances) { - if(instances.size() < 0) + if(instances.size() <= 0) { ClearProperties(); return; @@ -367,5 +367,12 @@ void PropertyWindow::UpdateSelected(std::vector instances) void PropertyWindow::ClearProperties() { - PropGrid_ResetContent(_propGrid); + if(g_dataModel != NULL) + { + g_dataModel->getSelectionService()->addSelected(g_dataModel); + } + else + { + PropGrid_ResetContent(_propGrid); + } } \ No newline at end of file