Set program version depending on own version

This commit is contained in:
2025-03-11 20:46:37 +01:00
parent a0368c1e51
commit 2317bd9b29
3 changed files with 19 additions and 2 deletions

View File

@@ -57,10 +57,14 @@ export component MainWindow inherits Window {
}
Tab {
title: "About";
AboutTab {}
about_tab := AboutTab {}
}
}
public function set_version(version: string) {
about_tab.version = version;
}
public function change_to_load_file() {
file_tab.state = State.ConvertImage;
tab_widget.current-index = 0;