Commit b4acd6a6 authored by Nate Graham's avatar Nate Graham
Browse files

[kcms/baloo] Disable list view and add folder button when disabled

Other interactive controls in the KCM are disabled when Baloo itself is
disabled; these should follow that pattern for consistency.
parent b5a16ec3
...@@ -102,6 +102,8 @@ KCM.SimpleKCM { ...@@ -102,6 +102,8 @@ KCM.SimpleKCM {
Layout.fillWidth: true Layout.fillWidth: true
Layout.fillHeight: true Layout.fillHeight: true
enabled: fileSearchEnabled.checked
ListView { ListView {
id: directoryConfigList id: directoryConfigList
clip: true clip: true
...@@ -117,6 +119,8 @@ KCM.SimpleKCM { ...@@ -117,6 +119,8 @@ KCM.SimpleKCM {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
enabled: fileSearchEnabled.checked "folder-add" "folder-add"
text: i18n("Add folder configuration...") text: i18n("Add folder configuration...")
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