Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/epasveer/seer
Browse files Browse the repository at this point in the history
  • Loading branch information
epasveer committed Nov 24, 2024
2 parents 6442fa5 + 508ef1a commit 01cd2c1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/SeerStructVisualizerWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,10 @@ void SeerStructVisualizerWidget::handleText (const QString& text) {
// Populate the tree.
handleItemCreate(topItem, value_text);

// For now, always expand everything.
variableTreeWidget->expandAll();
// Expand everything if there are children.
if (topItem->childCount() > 0) {
variableTreeWidget->expandAll();
}
}


Expand Down

0 comments on commit 01cd2c1

Please sign in to comment.