work around notification delivery
This commit is contained in:
parent
da2bf2d1a0
commit
67cfcb7696
1 changed files with 4 additions and 0 deletions
|
@ -654,6 +654,10 @@ mod imp {
|
||||||
}
|
}
|
||||||
self.state.set(State::FileLoading);
|
self.state.set(State::FileLoading);
|
||||||
|
|
||||||
|
// force update the playlist-pos, in case the observed property comes later
|
||||||
|
self.playlist_pos
|
||||||
|
.set(self.mpv.get_property("playlist-pos").unwrap());
|
||||||
|
|
||||||
// make sure this is reported as 0
|
// make sure this is reported as 0
|
||||||
self.obj().notify("time-pos");
|
self.obj().notify("time-pos");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue