scottrini / OctoPrint-PrusaLevelingGuide

42 stars 6 forks source link

When using the plugin the entry "control:" in config.yaml is deleted #28

Closed Nedial closed 3 years ago

Nedial commented 3 years ago

OctoPrint 1.5.3 After each use of the plugin, the custom controls are deleted. The whole section is deleted in config.yaml.

scottrini commented 3 years ago

You mean the "controls" section, right? I have custom controls defined in my config.yaml and I've used the plugin many times and it's never cleared this. The plugin does initiate a save all settings, so the only way for settings to be lost is if they aren't already in the settings object.

I can't reproduce the problem, so this is probably not something I'd work on, but a PR is welcome if you think you can locate it.