Properly enable auto-type ui elements on entry edit page (#8752)

Fixes #8743
This commit is contained in:
olivier 2023-01-30 02:09:31 +01:00 committed by Jonathan White
parent 25fc69dcd4
commit ae55d88544
No known key found for this signature in database
GPG Key ID: 440FC65F2E0C6E01

View File

@ -234,8 +234,7 @@ void EditEntryWidget::setupAutoType()
// clang-format off
connect(m_autoTypeUi->enableButton, SIGNAL(toggled(bool)), SLOT(updateAutoTypeEnabled()));
connect(m_autoTypeUi->customSequenceButton, SIGNAL(toggled(bool)),
m_autoTypeUi->sequenceEdit, SLOT(setEnabled(bool)));
connect(m_autoTypeUi->customSequenceButton, &QRadioButton::toggled, this, &EditEntryWidget::updateAutoTypeEnabled);
connect(m_autoTypeUi->openHelpButton, SIGNAL(clicked()), SLOT(openAutotypeHelp()));
connect(m_autoTypeUi->customWindowSequenceButton, SIGNAL(toggled(bool)),
m_autoTypeUi->windowSequenceEdit, SLOT(setEnabled(bool)));