Commit fb9878fa authored by Marinus Schraal's avatar Marinus Schraal

coremodel: Bind playlist validation property one way

Validation is only set in PlayerPlaylist, so having the property binding
one-way is fine.
parent b2de1eea
......@@ -236,10 +236,9 @@ class CoreModel(GObject.GObject):
"state", player_song, "state",
GObject.BindingFlags.BIDIRECTIONAL
| GObject.BindingFlags.SYNC_CREATE)
model_song.bind_property(
"validation", player_song, "validation",
GObject.BindingFlags.BIDIRECTIONAL
| GObject.BindingFlags.SYNC_CREATE)
player_song.bind_property(
"validation", model_song, "validation",
GObject.BindingFlags.SYNC_CREATE)
def _on_items_changed(model, position, removed, added):
songs_list = []
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment