From 5649d49616296df01f821e03a064c6966561bc99 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 17 Oct 2015 13:40:46 +0300 Subject: [PATCH] Only push PlaybackPage if the BrowsePage is the current page Since BrowsePage now remains on the stack, not having this condition causes a new PlaybackPage to be pushed every time the stream begins playing (e.g. after being paused). --- remote/qml/pages/BrowsePage.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remote/qml/pages/BrowsePage.qml b/remote/qml/pages/BrowsePage.qml index a4e1ac2..8a5d254 100644 --- a/remote/qml/pages/BrowsePage.qml +++ b/remote/qml/pages/BrowsePage.qml @@ -104,7 +104,7 @@ Page control: xinemaControl onPlaybackStateChanged: { - if(playbackState==StreamControl.Playing) + if(playbackState==StreamControl.Playing && pageContainer.currentPage==page) { if(pageContainer.busy) pageContainer.completeAnimation(); -- 2.45.2