1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-21 14:03:39 +03:00

update Tasks Indexes immediately after shortcuts

--do not delay updating the tasks indexes and counts in
Latte plasmoid in order to avoid inconsistent values
during startup. Now entries activation works immediately
after startup
This commit is contained in:
Michail Vourlakos 2019-01-27 17:14:13 +02:00
parent 58d8208704
commit e5c2b37f79

View File

@ -1189,6 +1189,7 @@ DragDrop.DropArea {
showAppletsNumbers = showNumbers;
showMetaBadge = showMeta;
applicationLauncherId = applicationLauncher;
root.latteApplet.parabolicManager.updateTasksEdgesIndexes();
}
// This is called by dockcorona in response to a Meta+number shortcut.
@ -1202,6 +1203,7 @@ DragDrop.DropArea {
latteApplet.setTasksNumbersBase(base - 1);
}
root.latteApplet.parabolicManager.updateTasksEdgesIndexes();
signalActivateEntryAtIndex(index);
}
@ -1216,6 +1218,7 @@ DragDrop.DropArea {
latteApplet.setTasksNumbersBase(base - 1);
}
root.latteApplet.parabolicManager.updateTasksEdgesIndexes();
signalNewInstanceForEntryAtIndex(index);
}