base_panel: fix keyboard not closing when clicking on macro shortcut

This commit is contained in:
alfrix authored and Alfredo Monclus committed 2022-07-03 12:03:50 -03:00
1 parent c18e2d148e
commit c6df1b667c
1 file changed
+1
+1
View File
@@ -35,6 +35,7 @@ class BasePanel(ScreenPanel):
self.control['printer_select'].connect("clicked", self._screen.show_printer_select)
self.control['macros_shortcut'] = self._gtk.ButtonImage('custom-script', None, None, 1)
self.control['macros_shortcut'].connect("clicked", self._screen.remove_keyboard)
self.control['macros_shortcut'].connect("clicked", self.menu_item_clicked, "gcode_macros", {
"name": "Macros",
"panel": "gcode_macros"