From 348ce95f83fd1ec89153ea67cd5aa6f5c1d8afa4 Mon Sep 17 00:00:00 2001 From: glubsy Date: Wed, 30 Dec 2020 18:44:38 +0100 Subject: [PATCH] Remove comment * There is a bug with pyqt5<=5.14 where the table does not update after a call to update() and needs to receive a mouse click event in order to repaint as expected. * This does not affect Windows only as this is a Qt5 bug. * This seems to be fixed with pyqt5>=5.15.1. --- qt/exclude_list_dialog.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/qt/exclude_list_dialog.py b/qt/exclude_list_dialog.py index 425d4eba..b28be1e5 100644 --- a/qt/exclude_list_dialog.py +++ b/qt/exclude_list_dialog.py @@ -118,8 +118,6 @@ class ExcludeListDialog(QDialog): return # if at least one row matched, we know whether table is highlighted or not self._row_matched = self.model.test_string(input_text) - # FIXME There is a bug on Windows (7) where the table rows don't get - # repainted until the table receives a mouse click event. self.tableView.update() input_regex = self.inputLine.text()