[#2497] [GTKUI] Fix the queue 'Clear' button not properly clearing.
This commit is contained in:
parent
c982e8de67
commit
f1fe593fd6
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue