add in_menu option to registering commands so that barcodes don't show up in the menu for parameterized methods.

workspace
Brendan Howell 4 years ago
parent e2c80dbf48
commit 7129833254

@ -239,7 +239,7 @@ class Bureau(object):
# TODO: eventually refactor this since it could overwrite a half-broken config # TODO: eventually refactor this since it could overwrite a half-broken config
sp_dict = {"vendorid": "", "productid": "", "inep": "", sp_dict = {"vendorid": "", "productid": "", "inep": "",
"outep": "", "width": "384", "textwidth": "32", "outep": "", "width": "384", "textwidth": "32",
"profile", ""} "profile": ""}
lp_dict = {"name": "", "papersize": "A4", "duplex": "False"} lp_dict = {"name": "", "papersize": "A4", "duplex": "False"}
printcfg["smallprinter"] = sp_dict printcfg["smallprinter"] = sp_dict
printcfg["largeprinter"] = lp_dict printcfg["largeprinter"] = lp_dict

Loading…
Cancel
Save