From 13e5001bb4ffc255b92665a43beb154cf265e6fe Mon Sep 17 00:00:00 2001 From: Boris Pozdena Date: Wed, 10 Sep 2025 10:46:36 +0200 Subject: [PATCH] Fix #208 --- src/main_window.py | 4 ++++ 1 file changed, 4 insertions(+) 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()