Skip to content

Commit

Permalink
callback jsy on change
Browse files Browse the repository at this point in the history
(cherry picked from commit 7b87b0d0b69091d1639618137090b026ddd16335)
  • Loading branch information
mathieucarbou committed Jun 26, 2024
1 parent cab9bf1 commit 47f9aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/init/Events.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ Mycila::Task initEventsTask("Init Events", [](void* params) {
});

jsy.setCallback([](const Mycila::JSYEventType eventType) {
if (eventType == Mycila::JSYEventType::EVT_READ) {
if (eventType == Mycila::JSYEventType::EVT_CHANGE) {
Mycila::JSYData data;
jsy.getData(data);
if (grid.updateJSYData(data)) {
Expand Down

0 comments on commit 47f9aae

Please sign in to comment.