Plugins/ViewManagerPlugins/Listspace/Listspace.py

branch
6_1_x
changeset 5153
9805a6adb6a0
parent 4898
87f323577ce1
child 5389
9b1c800daff3
equal deleted inserted replaced
5139:6a35d307e49f 5153:9805a6adb6a0
551 keys.append("syntaxError22.png") 551 keys.append("syntaxError22.png")
552 elif editor.hasWarnings(): 552 elif editor.hasWarnings():
553 keys.append("warning22.png") 553 keys.append("warning22.png")
554 if not keys: 554 if not keys:
555 keys.append("empty.png") 555 keys.append("empty.png")
556 self.viewlist.item(index).setIcon( 556 item = self.viewlist.item(index)
557 UI.PixmapCache.getCombinedIcon(keys)) 557 if item:
558 item.setIcon(UI.PixmapCache.getCombinedIcon(keys))
558 self.viewlist.setCurrentRow(currentRow) 559 self.viewlist.setCurrentRow(currentRow)
559 self._checkActions(editor) 560 self._checkActions(editor)
560 561
561 def _syntaxErrorToggled(self, editor): 562 def _syntaxErrorToggled(self, editor):
562 """ 563 """

eric ide

mercurial