mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
fixed error in autoremove
This commit is contained in:
parent
28e526777e
commit
36df7cf7dd
@ -939,9 +939,10 @@ class TrackView(Gtk.Box):
|
|||||||
status=self.client.status()
|
status=self.client.status()
|
||||||
if not status["song"] == "0" and self.client.playlistinfo()[0]["file"] == self.client.song_to_delete:
|
if not status["song"] == "0" and self.client.playlistinfo()[0]["file"] == self.client.song_to_delete:
|
||||||
self.client.delete(0)
|
self.client.delete(0)
|
||||||
|
self.client.song_to_delete=""
|
||||||
else:
|
else:
|
||||||
self.refresh_selection()
|
self.refresh_selection()
|
||||||
self.client.song_to_delete=""
|
self.client.song_to_delete=""
|
||||||
else:
|
else:
|
||||||
self.refresh_selection()
|
self.refresh_selection()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user