summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Knaust <awknaust@gmail.com>2014-09-01 21:27:24 +0100
committerCalum Lind <calumlind+deluge@gmail.com>2014-09-01 21:27:38 +0100
commitf1fe593fd6a059fc18539c57f0b4ef995d6f91f1 (patch)
treef7ebd288fedd0ec982bb52816075e550e0ba5e0f
parentc982e8de67840921bb8bdaf8c4a1d3e99fb8ac6c (diff)
downloaddeluge-f1fe593fd6a059fc18539c57f0b4ef995d6f91f1.tar.gz
deluge-f1fe593fd6a059fc18539c57f0b4ef995d6f91f1.tar.bz2
deluge-f1fe593fd6a059fc18539c57f0b4ef995d6f91f1.zip
[#2497] [GTKUI] Fix the queue 'Clear' button not properly clearing.
-rw-r--r--deluge/ui/gtkui/queuedtorrents.py1
1 files changed, 1 insertions, 0 deletions
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):