summaryrefslogtreecommitdiffstats
path: root/kxkb
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2025-01-14 16:07:19 +0200
committerMavridis Philippe <[email protected]>2025-01-14 17:02:10 +0200
commit2b3ed3c3cb35f56aa98f8364eff6e0c3342a523a (patch)
treeb4885e08c15b649fbf86478794cd8514e8c23d49 /kxkb
parenta6f556ee0f3d66f3337cdc513b3e8ac3edd79842 (diff)
downloadtdebase-2b3ed3c3cb35f56aa98f8364eff6e0c3342a523a.tar.gz
tdebase-2b3ed3c3cb35f56aa98f8364eff6e0c3342a523a.zip
kcmlayout: disable KMilo checkbox when layout notifications disabled
Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'kxkb')
-rw-r--r--kxkb/kcmlayout.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/kxkb/kcmlayout.cpp b/kxkb/kcmlayout.cpp
index aee98ff22..cc0caace7 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, "");
@@ -355,6 +356,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();