Skip to content

Commit

Permalink
Refs #19532: Fix warning displayed when showing metatraffic
Browse files Browse the repository at this point in the history
Signed-off-by: JesusPoderoso <[email protected]>
  • Loading branch information
JesusPoderoso committed Oct 24, 2023
1 parent 21eae42 commit 6529cc4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions qml/DomainGraphLayout.qml
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,11 @@ Item
for (var c = 0; c < topicsList.count; c++)
{
topicsList.currentIndex = c
listViewHeight = topicsList.currentItem.height
listViewWidth += topicsList.currentItem.width + elements_spacing_
if (topicsList.currentItem != null)
{
listViewHeight = topicsList.currentItem.height
listViewWidth += topicsList.currentItem.width + elements_spacing_
}
}
topicsList.height = listViewHeight
topicsList.width = listViewWidth
Expand Down

0 comments on commit 6529cc4

Please sign in to comment.