Fixed play queue currently playing when reorder happens

This commit is contained in:
Sumner Evans
2019-12-25 10:36:46 -07:00
parent 52a0b3e604
commit 140ed6d38b
2 changed files with 9 additions and 14 deletions

View File

@@ -139,8 +139,6 @@ class SublimeMusicApp(Gtk.Application):
'device-update', self.on_device_update)
self.window.player_controls.connect(
'volume-change', self.on_volume_change)
self.window.player_controls.connect(
'play-queue-reorder', self.on_play_queue_reorder)
self.window.connect('key-press-event', self.on_window_key_press)
self.window.show_all()
@@ -238,11 +236,6 @@ class SublimeMusicApp(Gtk.Application):
# Send out to the bus that we exist.
self.dbus_manager.property_diff()
def on_play_queue_reorder(self, _, new_queue):
self.state.play_queue = new_queue
self.save_play_queue()
self.update_window()
# ########## DBUS MANAGMENT ########## #
def do_dbus_register(self, connection, path):
def get_state_and_player():