base_panel improvements
* generalize macro shortcut to allow changing it in the future * action_bar functionality is now handled in one place for better maintainability
This commit is contained in:
1 parent
aa25a96f2b
commit
bd98e758ec
7 files changed
+40
-85
No files matched your search
@@ -47,10 +47,6 @@ class Panel(ScreenPanel):
|
||||
while len(self.menu) > 1:
|
||||
self.unload_menu()
|
||||
self.reload_macros()
|
||||
self._screen.base_panel.toggle_macro_shorcut_sensitive(False)
|
||||
|
||||
def deactivate(self):
|
||||
self._screen.base_panel.toggle_macro_shorcut_sensitive(True)
|
||||
|
||||
def add_gcode_macro(self, macro):
|
||||
# Support for hiding macros by name
|
||||
|
||||
Reference in new issue
Block a user