Remove some unneeded complexity in the macro shortcut

This commit is contained in:
alfrix
2022-06-30 09:42:41 -03:00
committed by Alfredo Monclus
parent 06fceec84a
commit 5c17656567
2 changed files with 4 additions and 10 deletions

View File

@@ -257,10 +257,7 @@ class BasePanel(ScreenPanel):
self.control['home'].set_sensitive(False)
self.buttons_showing['back'] = False
def show_macro_shortcut(self, show=True, mod_row=False):
if show == "True":
show = True
def show_macro_shortcut(self, show=True):
if show is True and self.buttons_showing['macros_shortcut'] is False:
self.action_bar.add(self.control['macros_shortcut'])
if self.buttons_showing['printer_select'] is False: