mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-07-31 16:54:46 +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,9 +109,11 @@ ColumnLayout {
|
||||||
height: Math.max(label.height, label.height)
|
height: Math.max(label.height, label.height)
|
||||||
onClicked: {
|
onClicked: {
|
||||||
listView.currentIndex = index;
|
listView.currentIndex = index;
|
||||||
|
activityModel.startActivity(model.id, function() {
|
||||||
activityModel.setCurrentActivity(model.id, function() {
|
activityModel.setCurrentActivity(model.id, function() {
|
||||||
plasmoid.expanded = false;
|
plasmoid.expanded = false;
|
||||||
});
|
});
|
||||||
|
});
|
||||||
}
|
}
|
||||||
onPressAndHold: {
|
onPressAndHold: {
|
||||||
edit.visible = true
|
edit.visible = true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue