fix: column index desync after reorder
This commit is contained in:
@@ -9,11 +9,6 @@ import qs.Services
|
||||
Item {
|
||||
id: root
|
||||
|
||||
readonly property var desktopEntries: DesktopEntries.applications.values.map(e => ({
|
||||
icon: e.icon,
|
||||
command: e.command
|
||||
}))
|
||||
|
||||
implicitWidth: Tokens.sizes.dashboard.processesWidth
|
||||
implicitHeight: Tokens.sizes.dashboard.processesHeight
|
||||
|
||||
@@ -21,14 +16,6 @@ Item {
|
||||
service: Processes
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: DesktopEntries.applications
|
||||
function onValuesChanged(): void {
|
||||
Processes.setDesktopEntries(root.desktopEntries);
|
||||
}
|
||||
}
|
||||
Component.onCompleted: Processes.setDesktopEntries(root.desktopEntries)
|
||||
|
||||
ProcessesHeader {
|
||||
id: header
|
||||
|
||||
|
||||
Reference in New Issue
Block a user