Temp_panel: Fix temps not updating after opening another instance
Fix #446
This commit is contained in:
parent
d8bc4747e8
commit
02c008de84
@ -20,6 +20,7 @@ class ScreenPanel:
|
|||||||
self._gtk = screen.gtk
|
self._gtk = screen.gtk
|
||||||
self.control = {}
|
self.control = {}
|
||||||
self.title = title
|
self.title = title
|
||||||
|
self.devices = {}
|
||||||
|
|
||||||
self.layout = Gtk.Layout()
|
self.layout = Gtk.Layout()
|
||||||
self.layout.set_size(self._screen.width, self._screen.height)
|
self.layout.set_size(self._screen.width, self._screen.height)
|
||||||
|
@ -16,7 +16,6 @@ def create_panel(*args):
|
|||||||
|
|
||||||
class TemperaturePanel(ScreenPanel):
|
class TemperaturePanel(ScreenPanel):
|
||||||
active_heaters = []
|
active_heaters = []
|
||||||
devices = {}
|
|
||||||
graph_update = None
|
graph_update = None
|
||||||
active_heater = None
|
active_heater = None
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user