mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-28 14:43:09 +00:00
Map indices back to source.
This commit is contained in:
parent
3751f69d40
commit
12ba707277
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue