395 |
395 |
396 def on_errorsListWidget_currentTextChanged(self, text): |
396 def on_errorsListWidget_currentTextChanged(self, text): |
397 """ |
397 """ |
398 Private slot to handle the highlighted signal. |
398 Private slot to handle the highlighted signal. |
399 |
399 |
400 @param txt current text (string) |
400 @param text current text (string) |
401 """ |
401 """ |
402 if text: |
402 if text: |
403 for pattern in self.rxPatterns: |
403 for pattern in self.rxPatterns: |
404 text = re.sub(pattern, "", text) |
404 text = re.sub(pattern, "", text) |
405 itm = self.testsListWidget.findItems(text, Qt.MatchFlags(Qt.MatchExactly))[0] |
405 itm = self.testsListWidget.findItems(text, Qt.MatchFlags(Qt.MatchExactly))[0] |