Zeige beim Hinzufügen eines Downloads eine Log-Nachricht statt Fenster.

This commit is contained in:
Akamaru
2025-05-04 21:11:49 +02:00
parent cc64e3b77b
commit 4134a40a3d

View File

@@ -1336,7 +1336,10 @@ class MainWindow(QMainWindow):
# Aktualisiere die Queue-Liste
self.update_queue_list()
self.tabs.setCurrentIndex(1) # Wechsle zum Queue-Tab
# Zur Ausgabe wechseln und Hinzufügen bestätigen
self.tabs.setCurrentIndex(0) # Wechsle zum Ausgabe-Tab
self.log_output.append(f"Download wurde zur Queue hinzugefügt: {queue_item.get_display_name()}")
# Optional: Leere die URL-Box
self.url_input.clear()
@@ -1346,8 +1349,6 @@ class MainWindow(QMainWindow):
# Queue speichern
self.save_queue()
QMessageBox.information(self, "Hinzugefügt", "Download wurde zur Queue hinzugefügt.")
def update_queue_list(self):
"""Aktualisiert die Anzeige der Queue-Liste."""