1
0
mirror of https://github.com/bpozdena/OneDriveGUI.git synced 2026-10-24 04:59:17 +03:00
This commit is contained in:
Boris Pozdena
2025-09-10 10:46:36 +02:00
parent 4afc737476
commit 13e5001bb4

View File

@@ -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()