| 144 | // resync (e.g. binding the toolbar to a newly-focused plot) must not run the Curve |
| 145 | // Width/Style groups' click side effects — refreshing the open preview panels. |
| 146 | void checkGroupButton(QButtonGroup* group, int id) { |
| 147 | if (group == nullptr) { |
| 148 | return; |
| 149 | } |
| 150 | if (auto* btn = group->button(id)) { |
| 151 | const QSignalBlocker blocker(group); |
| 152 | btn->setChecked(true); |
| 153 | } |
| 154 | } |
| 155 | |
| 156 | constexpr auto kDefaultRegistryUrl = |
| 157 | "https://raw.githubusercontent.com/PlotJuggler/pj-plugin-registry/" |
no test coverage detected