Gui: rename methods setBacklight() & isBacklight() to harmonize with setHeadlightEnabled() & isHeadlightEnabled()

This commit is contained in:
wmayer
2023-10-24 12:28:31 +02:00
committed by wwmayer
parent 29be14799f
commit e0d624bc66
4 changed files with 7 additions and 7 deletions

View File

@@ -194,7 +194,7 @@ void DlgSettingsLightSources::loadDirection()
void DlgSettingsLightSources::toggleLight(bool on)
{
if (view) {
view->getHeadlight()->on = on;
view->setHeadlightEnabled(on);
}
}