eric6/Project/ProjectOthersBrowser.py

changeset 8222
5994b80b8760
parent 8143
2c730d5fd177
child 8243
cc717c2ae956
equal deleted inserted replaced
8221:0572a215bd2f 8222:5994b80b8760
224 Protected slot to handle the open in icon editor popup menu entry. 224 Protected slot to handle the open in icon editor popup menu entry.
225 """ 225 """
226 itmList = self.getSelectedItems() 226 itmList = self.getSelectedItems()
227 227
228 for itm in itmList: 228 for itm in itmList:
229 if isinstance(itm, ProjectBrowserFileItem): 229 if (
230 if itm.isPixmapFile(): 230 isinstance(itm, ProjectBrowserFileItem) and
231 self.pixmapEditFile.emit(itm.fileName()) 231 itm.isPixmapFile()
232 ):
233 self.pixmapEditFile.emit(itm.fileName())
232 234
233 def _openHexEditor(self): 235 def _openHexEditor(self):
234 """ 236 """
235 Protected slot to handle the open in hex editor popup menu entry. 237 Protected slot to handle the open in hex editor popup menu entry.
236 """ 238 """

eric ide

mercurial