Clear current annotation in resource inspector on capture close

This commit is contained in:
baldurk committed 2026-01-28 14:42:10 +00:00
1 parent 6c0d1ed057
commit 3454404a55
1 file changed
+3
+3
View File
@@ -517,6 +517,9 @@ void ResourceInspector::OnCaptureClosed()
{
m_Resource = ResourceId();
if(m_AnnotationView)
m_AnnotationView->setAnnotationObject(NULL);
ui->renameResource->setEnabled(false);
ui->resetName->hide();