mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-26 21:51:13 +01:00
sim base clean
UI now uses bg_color as led_color Move add_UI_item to push_ui_item
This commit is contained in:
@@ -13,7 +13,7 @@ std::string Simulator_base::name() const
|
||||
return m_name;
|
||||
}
|
||||
|
||||
void Simulator_base::add_UI_item(UI_item *item)
|
||||
void Simulator_base::push_ui_item(UI_item *item)
|
||||
{
|
||||
// Add a UI item to the simulator
|
||||
connect(item, &UI_item::value_changed, this, [this] { emit sim_changed(); });
|
||||
|
||||
Reference in New Issue
Block a user