mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
don't switch activity on startup
This commit is contained in:
parent
69a2673936
commit
0c92d4d09b
1 changed files with 6 additions and 5 deletions
|
|
@ -50,12 +50,13 @@ Item {
|
|||
height: 10
|
||||
cacheItemCount: 999//count
|
||||
delegate: Item {
|
||||
Component.onCompleted: {
|
||||
activityModel.setCurrentActivity(model.id, function(){});
|
||||
}
|
||||
Connections {
|
||||
target: model
|
||||
onCurrentChanged: activityModel.setCurrentActivity(model.id, function(){});
|
||||
target: activitiesRepresentation
|
||||
onCurrentIndexChanged: {
|
||||
if (index == activitiesRepresentation.currentIndex) {
|
||||
activityModel.setCurrentActivity(model.id, function(){});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue