MCPcopy Create free account
hub / github.com/ModOrganizer2/modorganizer / resetColors

Method resetColors

src/colortable.cpp:254–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252}
253
254void 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
269void ColorTable::commitColors()
270{

Callers 1

ThemeSettingsTabMethod · 0.80

Calls 2

forEachColorItemFunction · 0.85
resetMethod · 0.45

Tested by

no test coverage detected