| 224 | } |
| 225 | |
| 226 | void IntrinsicEdManagerWindowBase::onDestroyResource() |
| 227 | { |
| 228 | Dod::Ref resource = _itemToResourceMapping[_ui.resourceView->currentItem()]; |
| 229 | |
| 230 | if (resource.isValid()) |
| 231 | { |
| 232 | if (_resourceManagerEntry.destroyResourcesFunction) |
| 233 | _resourceManagerEntry.destroyResourcesFunction({resource}); |
| 234 | if (_resourceManagerEntry.destroyFunction) |
| 235 | _resourceManagerEntry.destroyFunction(resource); |
| 236 | |
| 237 | onPopulateResourceTree(); |
| 238 | |
| 239 | _ui.propertyView->clearPropertySet(); |
| 240 | _ui.propertyView->clearAndUpdatePropertyView(); |
| 241 | } |
| 242 | } |
| 243 | |
| 244 | void IntrinsicEdManagerWindowBase::onSaveManager() |
| 245 | { |
nothing calls this directly
no test coverage detected