eric6/Plugins/VcsPlugins/vcsMercurial/HgBookmarkDialog.py

changeset 8151
8c1445825e7b
parent 8143
2c730d5fd177
child 8218
7c09585bd960
equal deleted inserted replaced
8150:fc1ae39af8c9 8151:8c1445825e7b
91 if selectedBookmark: 91 if selectedBookmark:
92 index = self.bookmarkCombo.findText(selectedBookmark) 92 index = self.bookmarkCombo.findText(selectedBookmark)
93 if index > -1: 93 if index > -1:
94 self.bookmarkCombo.setCurrentIndex(index) 94 self.bookmarkCombo.setCurrentIndex(index)
95 95
96 @pyqtSlot(str) 96 @pyqtSlot(int)
97 def on_nameCombo_activated(self, txt): 97 def on_nameCombo_activated(self, index):
98 """ 98 """
99 Private slot to handle changes of the selected bookmark name. 99 Private slot to handle changes of the selected bookmark name.
100 100
101 @param txt selected combo entry (string) 101 @param index index of the selected entry
102 @type int
102 """ 103 """
103 self.__updateOK() 104 self.__updateOK()
104 self.__updateBookmarksCombo() 105 self.__updateBookmarksCombo()
105 106
106 @pyqtSlot(str) 107 @pyqtSlot(str)

eric ide

mercurial