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) |