| 516 | } |
| 517 | |
| 518 | void CurveTreeView::setViewMode(ViewMode mode) { |
| 519 | if (view_mode_ == mode) { |
| 520 | return; |
| 521 | } |
| 522 | view_mode_ = mode; |
| 523 | // Force the next applyFilter() call to actually re-run, otherwise the |
| 524 | // text-equality short-circuit at the top of applyFilter() would skip the |
| 525 | // re-filter that the post-rebuild caller expects. |
| 526 | last_filter_.clear(); |
| 527 | } |
| 528 | |
| 529 | void CurveTreeView::clearCurves() { |
| 530 | clear(); |
no test coverage detected