diff --git a/src/main_window.py b/src/main_window.py index 2553ba5..f7b8c69 100644 --- a/src/main_window.py +++ b/src/main_window.py @@ -624,6 +624,10 @@ class MainWindow(QMainWindow, Ui_MainWindow): if move_scrollbar and (currentScrollValue > 0): scroll.setValue(currentScrollValue + 1) + # Limit list to 10k items to fix #208. + if listWidget.count() > 10_000: + listWidget.takeItem(listWidget.count() - 1) + def show_login(self, profile): # Show login window with QT WebEngine self.window1 = QWidget()