From 0b13e53de711ec50db75709bb8bfb6be790db1fe Mon Sep 17 00:00:00 2001
From: Alex Knaust <awknaust@gmail.com>
Date: Sun, 31 Aug 2014 12:07:50 -0600
Subject: [PATCH] Fixed 'clear' button in torrent dialog not completely
clearing the queue.
---
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 ef41ae1..2e8b52b 100644
a
|
b
|
def on_button_remove_clicked(self, widget):
|
164 | 164 | self.update_status_bar() |
165 | 165 | |
166 | 166 | def on_button_clear_clicked(self, widget): |
| 167 | del self.queue[:] |
167 | 168 | self.liststore.clear() |
168 | 169 | self.update_status_bar() |
169 | 170 | |