summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2025-01-14 16:07:19 +0200
committerMavridis Philippe <[email protected]>2025-01-28 15:39:06 +0200
commitefaf40181252c93963eb105a6b4180e8e42b7eae (patch)
treeb0a90acd209dc034af5a492392233afccecda082
parent653466ed78293474ab2f690bec01da01fb16de0f (diff)
downloadtdebase-efaf40181252c93963eb105a6b4180e8e42b7eae.tar.gz
tdebase-efaf40181252c93963eb105a6b4180e8e42b7eae.zip
kcmlayout: disable KMilo checkbox when layout notifications disabled
Signed-off-by: Mavridis Philippe <[email protected]>
-rw-r--r--kxkb/kcmlayout.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/kxkb/kcmlayout.cpp b/kxkb/kcmlayout.cpp
index b1deda349..357d335a7 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, "");
@@ -319,6 +320,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();