Skip to content

Commit ff78265

Browse files
committed
Add the converter version to the window's title
1 parent 36af77d commit ff78265

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Python/gui/gui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def init_window():
3535
warnings.load_conversion_and_warning_rules() # TODO: Why is this called in this GUI function?
3636

3737
window = sg.Window(
38-
"Legacy Mod Converter",
38+
f"Legacy Mod Converter v{cfg.CONVERTER_VERSION}",
3939
gui_layout.get_layout(),
4040
icon=utils.resource_path("Media/legacy-mod-converter.ico"),
4141
font=("Helvetica", 16)

Python/shared_globals.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# TODO: Move these to cfg.py
2+
CONVERTER_VERSION = "4.0"
23
NO_PATH_SET_COLOR = "#b35858"
34
CONVERTER_FOLDER_NAME = "_Mod Converter"
45
WARNINGS_MOD_NAME_SEPARATOR = "-" * 50

0 commit comments

Comments
 (0)