From f1fe593fd6a059fc18539c57f0b4ef995d6f91f1 Mon Sep 17 00:00:00 2001 From: Alex Knaust Date: Mon, 1 Sep 2014 21:27:24 +0100 Subject: [#2497] [GTKUI] Fix the queue 'Clear' button not properly clearing. --- deluge/ui/gtkui/queuedtorrents.py | 1 + 1 file changed, 1 insertion(+) diff --git a/deluge/ui/gtkui/queuedtorrents.py b/deluge/ui/gtkui/queuedtorrents.py index ef41ae1a9..665e213cc 100644 --- a/deluge/ui/gtkui/queuedtorrents.py +++ b/deluge/ui/gtkui/queuedtorrents.py @@ -165,6 +165,7 @@ class QueuedTorrents(component.Component): def on_button_clear_clicked(self, widget): self.liststore.clear() + del self.queue[:] self.update_status_bar() def on_button_close_clicked(self, widget): -- cgit