Commit 851d7f33 authored by huangjieNT's avatar huangjieNT 🐤 Committed by Hugo Beauzée-Luyssen
Browse files

qml:previous button related fixes

fixes #25780
parent 215f04e9
......@@ -93,15 +93,14 @@ Rectangle {
function setInitialView() {
//set the initial view
if (!mainPlaylistController.empty)
history.push(["player"])
var loadPlayer = !mainPlaylistController.empty;
if (medialib)
history.push(["mc", "video"], loadPlayer ? History.Stay : History.Go)
else
{
if (medialib)
history.push(["mc", "video"])
else
history.push(["mc", "home"])
}
history.push(["mc", "home"], loadPlayer ? History.Stay : History.Go)
if (loadPlayer)
history.push(["player"])
}
......
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