mirror of
https://github.com/YACReader/yacreader
synced 2026-04-12 15:49:53 -04:00
Don't live regenerate the theme when writing in the the name field
This commit is contained in:
@ -108,6 +108,8 @@ ThemeEditorDialog::ThemeEditorDialog(const QJsonObject ¶ms, QWidget *parent)
|
|||||||
auto meta = this->params["meta"].toObject();
|
auto meta = this->params["meta"].toObject();
|
||||||
meta["displayName"] = text;
|
meta["displayName"] = text;
|
||||||
this->params["meta"] = meta;
|
this->params["meta"] = meta;
|
||||||
|
});
|
||||||
|
connect(nameEdit, &QLineEdit::editingFinished, this, [this]() {
|
||||||
emit themeJsonChanged(this->params);
|
emit themeJsonChanged(this->params);
|
||||||
});
|
});
|
||||||
connect(variantCombo, &QComboBox::currentIndexChanged, this, [this](int index) {
|
connect(variantCombo, &QComboBox::currentIndexChanged, this, [this](int index) {
|
||||||
|
|||||||
Reference in New Issue
Block a user