| 252 | } |
| 253 | |
| 254 | void ColorTable::resetColors() |
| 255 | { |
| 256 | bool changed = false; |
| 257 | |
| 258 | forEachColorItem(this, [&](auto* item) { |
| 259 | if (item->reset()) { |
| 260 | changed = true; |
| 261 | } |
| 262 | }); |
| 263 | |
| 264 | if (changed) { |
| 265 | update(); |
| 266 | } |
| 267 | } |
| 268 | |
| 269 | void ColorTable::commitColors() |
| 270 | { |
no test coverage detected