From 2a501599789e25c0d28e929cdf35abe9d6e9df16 Mon Sep 17 00:00:00 2001 From: Alex Knaust Date: Mon, 1 Sep 2014 21:27:24 +0100 Subject: [PATCH] [#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 7fc339579..57ef22b42 100644 --- a/deluge/ui/gtkui/queuedtorrents.py +++ b/deluge/ui/gtkui/queuedtorrents.py @@ -166,6 +166,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):