Skip to content

Commit

Permalink
Merge pull request #104 from ros-visualization/issue103
Browse files Browse the repository at this point in the history
fix Qt5 compatibility
  • Loading branch information
dirk-thomas committed May 10, 2016
2 parents cfb69a8 + 89ea26e commit 7d5858a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def _update_messages(self):
was_selected = False
if (self._name_to_item.has_key(status.name)):
item = self._name_to_item[status.name]
if self.tree_widget.isItemSelected(item.tree_node):
if item.tree_node.isSelected():
was_selected = True
if (item.status.level == DiagnosticStatus.ERROR and status.level != DiagnosticStatus.ERROR):
had_errors = True
Expand Down

0 comments on commit 7d5858a

Please # to comment.