Commit 12ba7072 authored by Eike Hein's avatar Eike Hein

Map indices back to source.

parent 3751f69d
......@@ -46,7 +46,7 @@ Item {
ScriptAction {
script: {
if (background.x != 0) {
plasmoid.nativeInterface.windowModel.requestClose(model.index);
plasmoid.nativeInterface.windowModel.requestClose(filteredWindowModel.mapRowToSource(model.index));
}
}
}
......@@ -83,7 +83,7 @@ Item {
onPressed: delegate.z = 10;
onClicked: {
window.hide();
plasmoid.nativeInterface.windowModel.requestActivate(model.index);
plasmoid.nativeInterface.windowModel.requestActivate(filteredWindowModel.mapRowToSource(model.index));
}
onReleased: {
delegate.z = 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