fix(base_panel): printer select button shouldn't be sensitive when showing as current

This commit is contained in:
Alfredo Monclus committed 2024-07-06 11:08:17 -03:00
1 parent 80e153da2b
commit 2036512064
1 file changed
+1
+1
View File
@@ -199,6 +199,7 @@ class BasePanel(ScreenPanel):
self.control['shutdown'].set_visible(not printing)
self.show_shortcut(connected)
self.show_heaters(connected)
self.show_printer_select()
for control in ('back', 'home'):
self.set_control_sensitive(len(self._screen._cur_panels) > 1, control=control)
self.current_panel = panel