[#2497] [GTKUI] Fix the queue 'Clear' button not properly clearing.

This commit is contained in:
Alex Knaust 2014-09-01 21:27:24 +01:00 committed by Calum Lind
parent c982e8de67
commit f1fe593fd6
1 changed files with 1 additions and 0 deletions

View File

@ -165,6 +165,7 @@ class QueuedTorrents(component.Component):
def on_button_clear_clicked(self, widget): def on_button_clear_clicked(self, widget):
self.liststore.clear() self.liststore.clear()
del self.queue[:]
self.update_status_bar() self.update_status_bar()
def on_button_close_clicked(self, widget): def on_button_close_clicked(self, widget):