Skip to content

Commit

Permalink
Fix UI loader pointing to wrong location
Browse files Browse the repository at this point in the history
  • Loading branch information
p-hennessy committed Mar 27, 2024
1 parent 957f36f commit 39e4662
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pluginInfo.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"metadata_format_version": "1",
"name": "vtf_exporter",
"version": "0.2.1",
"version": "0.2.2",
"author": "Patrick 'Zeus' Hennessy",
"email": "https://tf2maps.net/members/zeus.28272/",
"min_designer_version": "2022.2",
Expand Down
2 changes: 1 addition & 1 deletion vtf_exporter/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ def get_config_base_path():
CONFIG_DIR = SUBSTANCE_DIR / "vtf_exporter"
GLOBAL_CONFIG_FILE = CONFIG_DIR / "global_configuration.json"

PLUGIN_VERSION = "0.2.1"
PLUGIN_VERSION = "0.2.2"
2 changes: 1 addition & 1 deletion vtf_exporter/ui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def load_ui_file(filename, parent=None):
path = os.path.join(current_directory, filename)

loader = QtUiTools.QUiLoader()
uifile = QtCore.QFile(filename)
uifile = QtCore.QFile(path)
uifile.open(QtCore.QFile.ReadOnly)
ui = loader.load(uifile, parent)
uifile.close()
Expand Down

0 comments on commit 39e4662

Please sign in to comment.