Plugins/VcsPlugins/vcsMercurial/BookmarksExtension/HgBookmarkRenameDialog.py

changeset 1131
7781e396c903
parent 1011
0b118aefae5b
child 1509
c0b5e693b0eb
equal deleted inserted replaced
1130:3e9f0330f833 1131:7781e396c903
22 Constructor 22 Constructor
23 23
24 @param bookmarksList list of bookmarks (list of strings) 24 @param bookmarksList list of bookmarks (list of strings)
25 @param parent reference to the parent widget (QWidget) 25 @param parent reference to the parent widget (QWidget)
26 """ 26 """
27 QDialog.__init__(self, parent) 27 super().__init__(parent)
28 self.setupUi(self) 28 self.setupUi(self)
29 29
30 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False) 30 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False)
31 31
32 self.bookmarkCombo.addItems(sorted(bookmarksList)) 32 self.bookmarkCombo.addItems(sorted(bookmarksList))

eric ide

mercurial