Gui: rename methods setBacklight() & isBacklight() to harmonize with setHeadlightEnabled() & isHeadlightEnabled()
This commit is contained in:
@@ -194,7 +194,7 @@ void DlgSettingsLightSources::loadDirection()
|
||||
void DlgSettingsLightSources::toggleLight(bool on)
|
||||
{
|
||||
if (view) {
|
||||
view->getHeadlight()->on = on;
|
||||
view->setHeadlightEnabled(on);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user