Skip to content

Commit

Permalink
fix Qt5 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed May 10, 2016
1 parent cfb69a8 commit 89ea26e
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 89ea26e

Please # to comment.