eric6/Plugins/VcsPlugins/vcsGit/GitPatchFilesDialog.py

branch
maintenance
changeset 8176
31965986ecd1
parent 8143
2c730d5fd177
child 8218
7c09585bd960
equal deleted inserted replaced
8153:e01ae92db699 8176:31965986ecd1
44 self.addButton.setIcon(UI.PixmapCache.getIcon("plus")) 44 self.addButton.setIcon(UI.PixmapCache.getIcon("plus"))
45 self.deleteButton.setIcon(UI.PixmapCache.getIcon("minus")) 45 self.deleteButton.setIcon(UI.PixmapCache.getIcon("minus"))
46 self.upButton.setIcon(UI.PixmapCache.getIcon("1uparrow")) 46 self.upButton.setIcon(UI.PixmapCache.getIcon("1uparrow"))
47 self.downButton.setIcon(UI.PixmapCache.getIcon("1downarrow")) 47 self.downButton.setIcon(UI.PixmapCache.getIcon("1downarrow"))
48 48
49 self.__okButton = self.buttonBox.button(QDialogButtonBox.Ok) 49 self.__okButton = self.buttonBox.button(
50 QDialogButtonBox.StandardButton.Ok)
50 self.__okButton.setEnabled(len(self.__getPatchFilesList()) > 0) 51 self.__okButton.setEnabled(len(self.__getPatchFilesList()) > 0)
51 52
52 self.deleteButton.setEnabled(False) 53 self.deleteButton.setEnabled(False)
53 self.upButton.setEnabled(False) 54 self.upButton.setEnabled(False)
54 self.downButton.setEnabled(False) 55 self.downButton.setEnabled(False)

eric ide

mercurial