From f3efa4ecc82d8ae875175859f44b55aaf93c4d54 Mon Sep 17 00:00:00 2001 From: luisangelsm Date: Tue, 24 Mar 2026 19:05:40 +0100 Subject: [PATCH] Don't live regenerate the theme when writing in the the name field --- common/themes/theme_editor_dialog.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/themes/theme_editor_dialog.cpp b/common/themes/theme_editor_dialog.cpp index 391b6d54..fbaac06d 100644 --- a/common/themes/theme_editor_dialog.cpp +++ b/common/themes/theme_editor_dialog.cpp @@ -108,6 +108,8 @@ ThemeEditorDialog::ThemeEditorDialog(const QJsonObject ¶ms, QWidget *parent) auto meta = this->params["meta"].toObject(); meta["displayName"] = text; this->params["meta"] = meta; + }); + connect(nameEdit, &QLineEdit::editingFinished, this, [this]() { emit themeJsonChanged(this->params); }); connect(variantCombo, &QComboBox::currentIndexChanged, this, [this](int index) {