Commit bc52d8b2 authored by Marko Gobin's avatar Marko Gobin
Browse files

[applets/taskmanager] Expose sort in icon-only task manager settings

parent 79fd3bba
......@@ -123,7 +123,6 @@ Item {
ComboBox {
id: sortingStrategy
visible: (plasmoid.pluginName !== "org.kde.plasma.icontasks")
Kirigami.FormData.label: i18n("Sort:")
Layout.fillWidth: true
Layout.minimumWidth: Kirigami.Units.gridUnit * 14
......
......@@ -130,9 +130,8 @@ MouseArea {
filterByActivity: plasmoid.configuration.showOnlyCurrentActivity
filterNotMinimized: plasmoid.configuration.showOnlyMinimized
sortMode: iconsOnly ? TaskManager.TasksModel.SortManual
: sortModeEnumValue(plasmoid.configuration.sortingStrategy)
launchInPlace: iconsOnly
sortMode: sortModeEnumValue(plasmoid.configuration.sortingStrategy)
launchInPlace: iconsOnly && plasmoid.configuration.sortingStrategy === 1
separateLaunchers: {
if (!iconsOnly && !plasmoid.configuration.separateLaunchers
&& plasmoid.configuration.sortingStrategy === 1) {
......
Supports Markdown
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