Skip to content

Commit

Permalink
qmlui: notify RGBMatrix color change to the UI
Browse files Browse the repository at this point in the history
  • Loading branch information
mcallegari committed Dec 30, 2024
1 parent 4d99a82 commit 9eb789e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qmlui/rgbmatrixeditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,9 @@ void RGBMatrixEditor::setScriptStringProperty(QString paramName, QString value)
StringStringPair oldValue(paramName, m_matrix->property(paramName));
Tardis::instance()->enqueueAction(Tardis::RGBMatrixSetScriptStringValue, m_matrix->id(), QVariant::fromValue(oldValue),
QVariant::fromValue(StringStringPair(paramName, value)));

m_matrix->setProperty(paramName, value);
emit algoColorsChanged();
}

void RGBMatrixEditor::setScriptIntProperty(QString paramName, int value)
Expand Down

0 comments on commit 9eb789e

Please sign in to comment.