Commit 180944a1 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Enable by default as we can add new or modify it

parent 58edad04
...@@ -172,7 +172,6 @@ SimpleStringListEditor::SimpleStringListEditor(QWidget *parent, ButtonCode butto ...@@ -172,7 +172,6 @@ SimpleStringListEditor::SimpleStringListEditor(QWidget *parent, ButtonCode butto
if (buttons & Custom) { if (buttons & Custom) {
d->mCustomButton = new QPushButton(i18n("&Customize..."), this); d->mCustomButton = new QPushButton(i18n("&Customize..."), this);
d->mCustomButton->setAutoDefault(false); d->mCustomButton->setAutoDefault(false);
d->mCustomButton->setEnabled(false); // no selection yet
d->mButtonLayout->addWidget(d->mCustomButton); d->mButtonLayout->addWidget(d->mCustomButton);
connect(d->mCustomButton, &QPushButton::clicked, this, &SimpleStringListEditor::slotCustomize); connect(d->mCustomButton, &QPushButton::clicked, this, &SimpleStringListEditor::slotCustomize);
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment