MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / clearSelection

Method clearSelection

pj_widgets/src/Timeline.cpp:2089–2098  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2087}
2088
2089void Timeline::clearSelection() {
2090 if (selected_ids_.empty() && selection_anchor_id_ == 0) {
2091 return;
2092 }
2093 selected_ids_.clear();
2094 selection_anchor_id_ = 0;
2095 applySelectionHighlight();
2096 updateNamePanel();
2097 updateMergeButton();
2098}
2099
2100void Timeline::applySelectionHighlight() {
2101 for (TimelineBarItem* bar : bar_items_) {

Callers 1

applyToWidgetFunction · 0.80

Calls 2

emptyMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected