Commit c2eca129 authored by Marco Martin's avatar Marco Martin

try to start an activity before setting current

parent 3577e59b
......@@ -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: {
......
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