@@ -292,7 +292,7 @@ Item {
293 return 1;
293 return 1;
295− if (index == 2 && spreadView.nextInStack == 1) {
295+ if (index == 2 && spreadView.nextInStack == 1 && priv.sideStageAppId) {
296 return 3;
296 return 3;
298 return index;
298 return index;
@@ -340,10 +340,6 @@ Item {
340 width: model.stage == ApplicationInfoInterface.MainStage ? spreadView.width : spreadView.sideStageWidth
340 width: model.stage == ApplicationInfoInterface.MainStage ? spreadView.width : spreadView.sideStageWidth
341 x: spreadView.width
341 x: spreadView.width
342 z: spreadView.indexToZIndex(index)
342 z: spreadView.indexToZIndex(index)
344− onZChanged: print("z changed for", model.appId, z)
345− onWidthChanged: print("width changed!", width)
347 active: model.appId == priv.mainStageAppId || model.appId == priv.sideStageAppId
343 active: model.appId == priv.mainStageAppId || model.appId == priv.sideStageAppId
348 zIndex: z
344 zIndex: z
349 selected: spreadView.selectedIndex == index
345 selected: spreadView.selectedIndex == index