Skip to content

Commit

Permalink
fix updating JsonItem.Icon in UI
Browse files Browse the repository at this point in the history
  • Loading branch information
black-sliver committed Oct 17, 2023
1 parent e146099 commit 82e705f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ui/trackerview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@ TrackerView::TrackerView(int x, int y, int w, int h, Tracker* tracker, const std
_tracker->onStateChanged += {this, [this](void *s, const std::string& check) {
updateState(check);
}};
_tracker->onDisplayChanged += {this, [this](void *s, const std::string& check) {
updateDisplay(check);
}};
_tracker->onLocationSectionChanged += {this, [this](void *s, const LocationSection& sec) {
updateLocations();
}};
Expand Down

0 comments on commit 82e705f

Please sign in to comment.