clear femrenter recipe name if recie is cleared

This commit is contained in:
avollkopf 2022-03-29 18:48:36 +02:00
parent 43cf27bad5
commit 25327bab9f
2 changed files with 3 additions and 1 deletions

View file

@ -1,2 +1,2 @@
__version__ = "4.0.4.a2" __version__ = "4.0.4.a3"
__codename__ = "Spring Break" __codename__ = "Spring Break"

View file

@ -299,6 +299,8 @@ class FermentationController:
item = self._find_by_id(id) item = self._find_by_id(id)
# might require later check if step is active # might require later check if step is active
item.steps = [] item.steps = []
item.brewname = ""
self.push_update()
self.save() self.save()
self.push_update("fermenterstepupdate") self.push_update("fermenterstepupdate")