mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
try to start an activity before setting current
This commit is contained in:
parent
3577e59bc0
commit
c2eca129af
1 changed files with 4 additions and 2 deletions
|
|
@ -109,8 +109,10 @@ ColumnLayout {
|
|||
height: Math.max(label.height, label.height)
|
||||
onClicked: {
|
||||
listView.currentIndex = index;
|
||||
activityModel.setCurrentActivity(model.id, function() {
|
||||
plasmoid.expanded = false;
|
||||
activityModel.startActivity(model.id, function() {
|
||||
activityModel.setCurrentActivity(model.id, function() {
|
||||
plasmoid.expanded = false;
|
||||
});
|
||||
});
|
||||
}
|
||||
onPressAndHold: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue