Skip to content
Snippets Groups Projects

I221 rt130 soh message highlight on wrong line

Merged Lan Dam requested to merge i221-rt130-soh-message-highlight-wrong-line into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -529,10 +529,10 @@ class SearchMessageDialog(QtWidgets.QWidget):
)
# select all rows according to log_indexes
for idx in log_indexes:
self.current_table.selectRow(idx)
self.current_table.selectRow(idx + 1)
# scroll to the first index and place the row at top of the table
self.current_table.scrollToItem(
self.current_table.item(log_indexes[0], 1),
self.current_table.item(log_indexes[0] + 1, 1),
QAbstractItemView.ScrollHint.PositionAtTop
)
# raise the message dialog on top of others
Loading