[pim/kidentitymanagement] src/widgets: Remove hightligh signal. Otherwise when we change element in
Laurent Montel <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 554ec2da6bf26bc5ed09ef5cb20c7ca94135229f by Laurent Montel.
Committed on 13/08/2026 at 20:10.
Pushed by mlaurent into branch 'master'.
Remove hightligh signal. Otherwise when we change element in
combobox it will change stack widget index.
But if we use escape, combobox will be in sync with page
M +0 -1 src/widgets/signatureconfigurator.cpp
https://invent.kde.org/pim/kidentitymanagement/-/commit/554ec2da6bf26bc5ed09ef5cb20c7ca94135229f
diff --git a/src/widgets/signatureconfigurator.cpp b/src/widgets/signatureconfigurator.cpp
index a930e6a9..4f36f6dc 100644
--- a/src/widgets/signatureconfigurator.cpp
+++ b/src/widgets/signatureconfigurator.cpp
@@ -131,7 +131,6 @@ void SignatureConfiguratorPrivate::init()
widgetStack->setEnabled(false); // since !mEnableCheck->isChecked()
vlay->addWidget(widgetStack, 1);
q->connect(mSourceCombo, &QComboBox::currentIndexChanged, widgetStack, &QStackedWidget::setCurrentIndex);
- q->connect(mSourceCombo, &QComboBox::highlighted, widgetStack, &QStackedWidget::setCurrentIndex);
// connects for the enabling of the widgets depending on
// signatureEnabled:
q->connect(mEnableCheck, &QCheckBox::toggled, mSourceCombo, &QComboBox::setEnabled);