Skip to content

Display tooltip with repository item name for repository ID#278

Open
pavledev wants to merge 1 commit into
masterfrom
feat/repository-item-tooltip
Open

Display tooltip with repository item name for repository ID#278
pavledev wants to merge 1 commit into
masterfrom
feat/repository-item-tooltip

Conversation

@pavledev
Copy link
Copy Markdown
Collaborator

No description provided.

Comment on lines +965 to +971
if (m_RepositoryResource.GetResourceInfo().status != RESOURCE_STATUS_VALID) {
return "";
}

const auto s_RepositoryData = static_cast<THashMap<
ZRepositoryID, ZDynamicObject, TDefaultHashMapPolicy<ZRepositoryID>>*>(m_RepositoryResource.
GetResourceData());
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could probably also check if GetResourceData() is null here too.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think that's needed since RESOURCE_STATUS_VALID status is set when resource data is assigned to resourceData field

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants