b event name

UI was with capital in server
This commit is contained in:
2026-02-01 18:59:19 +01:00
parent c53126530d
commit 0c9e524cd5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ void SimulatorBase::on_event_cb(json& j)
auto response = magic_enum::enum_cast<Web_socket_wrapper::Event>(std::string(j.at("type"))).value_or(Web_socket_wrapper::Event::end);
switch (response)
{
case Web_socket_wrapper::Event::ui_changed:
case Web_socket_wrapper::Event::UI_changed:
UI_item_parser(j);
break;
default:
+1 -1
View File
@@ -26,7 +26,7 @@ class Web_socket_wrapper : public QObject
value_changed,
text_changed,
selected,
ui_changed,
UI_changed,
end,
begin = 0
};