eric6/WebBrowser/SiteInfo/SiteInfoDialog.py

changeset 7759
51aa6c6b66f7
parent 7577
6eaa43d3786e
child 7766
0af772bc14c4
equal deleted inserted replaced
7758:dd54d33d21d2 7759:51aa6c6b66f7
270 act.triggered.connect(lambda: self.__copyAction(act)) 270 act.triggered.connect(lambda: self.__copyAction(act))
271 menu.addSeparator() 271 menu.addSeparator()
272 act = menu.addAction(self.tr("Save Image")) 272 act = menu.addAction(self.tr("Save Image"))
273 act.setData(self.imagesTree.indexOfTopLevelItem(itm)) 273 act.setData(self.imagesTree.indexOfTopLevelItem(itm))
274 act.triggered.connect(lambda: self.__saveImage(act)) 274 act.triggered.connect(lambda: self.__saveImage(act))
275 menu.exec_(self.imagesTree.viewport().mapToGlobal(pos)) 275 menu.exec(self.imagesTree.viewport().mapToGlobal(pos))
276 276
277 def __copyAction(self, act): 277 def __copyAction(self, act):
278 """ 278 """
279 Private slot to copy the image URL or the image name to the clipboard. 279 Private slot to copy the image URL or the image name to the clipboard.
280 280

eric ide

mercurial