Commit f7acecb3 authored by Marco Martin's avatar Marco Martin
Browse files

the first item of recent after triggering an action

parent 6b52b396
......@@ -30,5 +30,7 @@ BigScreen.IconDelegate {
onClicked: {
feedbackWindow.open(modelData.ApplicationNameRole, modelData.ApplicationIconRole);
plasmoid.nativeInterface.applicationListModel.runApplication(modelData.ApplicationStorageIdRole)
recentView.forceActivefocus();
recentView.currentIndex = 0;
}
}
......@@ -27,5 +27,7 @@ BigScreen.IconDelegate {
onClicked: {
//feedbackWindow.open(model.text, model.icon.name);
trigger();
recentView.forceActivefocus();
recentView.currentIndex = 0;
}
}
......@@ -29,5 +29,7 @@ BigScreen.IconDelegate {
onClicked: {
plasmoid.nativeInterface.applicationListModel.runApplication(modelData.ApplicationStorageIdRole)
recentView.forceActivefocus();
recentView.currentIndex = 0;
}
}
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