b simbase

fix bad json name for button
This commit is contained in:
2026-02-01 18:59:20 +01:00
parent 0c9e524cd5
commit c6914d3f06
+2 -1
View File
@@ -234,7 +234,8 @@ void SimulatorBase::process_ui_button(json& uiItem)
return;
}
QColor bg_color = QColor(QString::fromStdString(uiItem["color"]));
QColor bg_color = QColor(QString::fromStdString(uiItem["bg_color"]));
QColor fg_color = QColor(QString::fromStdString(uiItem["fg_color"]));
QString text = QString::fromStdString(uiItem["text"]);
bool enabled = uiItem["enabled"];