Fix bug with expanding tree if there are no children (displaying simple variable types) by epasveer · Pull Request #270 · epasveer/seer (original) (raw)
For simple variable types (ints, floats, etc.) there were no sub children in the tree widget view. The 'expandAll' call would fail and result in a segfault (Qt bug?).
The fix is to only call 'expandAll' if there are sub children, as in the case of structures.