Skip to content

Commit f3cbb59

Browse files
Removed redundent target_temp update code.
1 parent e7e40bd commit f3cbb59

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

openroast/views/roasttab.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -432,14 +432,15 @@ def load_recipe_into_roast_tab(self):
432432
openroast.recipes.load_current_section()
433433
self.recreate_progress_bar()
434434
self.update_section_time()
435-
self.targetTempLabel.setText(str(openroast.roaster.target_temp))
436435
self.update_target_temp()
437436
self.update_fan_info()
438437

439438
def next_section(self):
440439
openroast.recipes.move_to_next_section(None, None)
440+
self.update_controllers()
441+
442+
def update_controllers(self):
441443
self.update_section_time()
442-
self.targetTempLabel.setText(str(openroast.roaster.target_temp))
443444
self.update_target_temp()
444445
self.update_fan_info()
445446

0 commit comments

Comments
 (0)