summaryrefslogtreecommitdiffstats
path: root/kxkb/kcmlayout.cpp
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2025-01-14 16:07:19 +0200
committerMavridis Philippe <[email protected]>2025-01-26 13:05:08 +0200
commit1b350f238901e5cbf4f1ae6a82ea10df11ce6d26 (patch)
tree10673eff483d8bd5c000893ccc700af38e48f7af /kxkb/kcmlayout.cpp
parent2103a6710e91c3053c73328040ec1362d301f0c2 (diff)
downloadtdebase-1b350f238901e5cbf4f1ae6a82ea10df11ce6d26.tar.gz
tdebase-1b350f238901e5cbf4f1ae6a82ea10df11ce6d26.zip
kcmlayout: disable KMilo checkbox when layout notifications disabled
Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'kxkb/kcmlayout.cpp')
-rw-r--r--kxkb/kcmlayout.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/kxkb/kcmlayout.cpp b/kxkb/kcmlayout.cpp
index be1664eaf..ce6a682a2 100644
--- a/kxkb/kcmlayout.cpp
+++ b/kxkb/kcmlayout.cpp
@@ -164,6 +164,7 @@ LayoutConfig::LayoutConfig(TQWidget *parent, const char *name)
connect(widget->chkEnableNotify, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()));
connect(widget->chkNotifyUseKMilo, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()));
+ connect(widget->chkEnableNotify, TQ_SIGNAL(toggled(bool)), widget->chkNotifyUseKMilo, TQ_SLOT(setEnabled(bool)));
widget->listLayoutsSrc->setColumnText(LAYOUT_COLUMN_FLAG, "");
widget->listLayoutsDst->setColumnText(LAYOUT_COLUMN_FLAG, "");
@@ -360,6 +361,7 @@ void LayoutConfig::initUI(bool modified) {
widget->chkEnableNotify->setChecked(m_kxkbConfig.m_enableNotify);
widget->chkNotifyUseKMilo->setChecked(m_kxkbConfig.m_notifyUseKMilo);
+ widget->chkNotifyUseKMilo->setEnabled(m_kxkbConfig.m_enableNotify);
updateStickyLimit();