112 index = self.identityCombo.findText(currentIdentity) |
112 index = self.identityCombo.findText(currentIdentity) |
113 if index == -1: |
113 if index == -1: |
114 index = 0 |
114 index = 0 |
115 self.identityCombo.setCurrentIndex(index) |
115 self.identityCombo.setCurrentIndex(index) |
116 |
116 |
117 @pyqtSlot(int) |
117 @pyqtSlot(str) |
118 def on_identityCombo_currentTextChanged(self, identity): |
118 def on_identityCombo_currentTextChanged(self, identity): |
119 """ |
119 """ |
120 Private slot to handle the selection of an identity. |
120 Private slot to handle the selection of an identity. |
121 |
121 |
122 @param identity selected identity |
122 @param identity selected identity |