Arrayify Custom

This commit is contained in:
Mike A. Trethewey
2020-02-15 02:03:11 -08:00
parent afa96412d1
commit 87345becc0
2 changed files with 12 additions and 12 deletions

6
Gui.py
View File

@@ -122,15 +122,15 @@ def guiMain(args=None):
self.pages["adjust"].content.pack(side=TOP, fill=BOTH, expand=True)
# Custom Controls
self.customContent = custom_page(self,self.pages["custom"])
self.customContent.pack(side=TOP, pady=(17,0))
self.pages["custom"].content = custom_page(self,self.pages["custom"])
self.pages["custom"].content.pack(side=TOP, pady=(17,0))
def validation(P):
if str.isdigit(P) or P == "":
return True
else:
return False
vcmd=(self.customContent.register(validation), '%P')
vcmd=(self.pages["custom"].content.register(validation), '%P')
# load args from CLI into options
loadcliargs(self, args)