Changed Print Template Yaml from checkbox to button

This commit is contained in:
codemann8
2023-12-23 04:23:34 -06:00
parent d8319ca727
commit 18fde2a3f3
8 changed files with 173 additions and 83 deletions

View File

@@ -158,6 +158,14 @@ def loadcliargs(gui, args, settings=None):
label = fish.translate("gui","gui",mainpage + '.' + subpage + '.' + widget)
gui.pages[mainpage].pages[subpage].widgets[widget].pieces["button"].configure(text=label)
# Set Export Yaml button
mainpage = "bottom"
subpage = "content"
widget = "exportyaml"
# set textbox/frame label
label = fish.translate("gui","gui",mainpage + '.' + subpage + '.' + widget)
gui.pages[mainpage].pages[subpage].widgets[widget].pieces["button"].configure(text=label)
# Set Save Settings button
mainpage = "bottom"
subpage = "content"