include the package version number in the edit-config title
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
This commit is contained in:
parent
0ab372f9fd
commit
03a8235445
@ -19,7 +19,7 @@ from textual.validation import Number
|
|||||||
from textual.widgets import Button, Footer, Header, Input, Label, Pretty, Select, Tree
|
from textual.widgets import Button, Footer, Header, Input, Label, Pretty, Select, Tree
|
||||||
from textual.widgets.tree import TreeNode
|
from textual.widgets.tree import TreeNode
|
||||||
|
|
||||||
from gp2040ce_bintools import core_parser, handler
|
from gp2040ce_bintools import core_parser, handler, _version
|
||||||
from gp2040ce_bintools.builder import write_new_config_to_filename, write_new_config_to_usb
|
from gp2040ce_bintools.builder import write_new_config_to_filename, write_new_config_to_usb
|
||||||
from gp2040ce_bintools.rp2040 import get_bootsel_endpoints, read
|
from gp2040ce_bintools.rp2040 import get_bootsel_endpoints, read
|
||||||
from gp2040ce_bintools.storage import (STORAGE_SIZE, USER_CONFIG_BOOTSEL_ADDRESS, ConfigReadError, get_config,
|
from gp2040ce_bintools.storage import (STORAGE_SIZE, USER_CONFIG_BOOTSEL_ADDRESS, ConfigReadError, get_config,
|
||||||
@ -132,7 +132,7 @@ class ConfigEditor(App):
|
|||||||
('q', 'quit', "Quit"),
|
('q', 'quit', "Quit"),
|
||||||
]
|
]
|
||||||
CSS_PATH = "config_tree.css"
|
CSS_PATH = "config_tree.css"
|
||||||
TITLE = "GP2040-CE Configuration Editor"
|
TITLE = F"GP2040-CE Configuration Editor - {_version.version}"
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
"""Initialize config."""
|
"""Initialize config."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user