diff options
author | Louie Shprung <lshprung@scu.edu> | 2023-12-21 12:20:20 -0800 |
---|---|---|
committer | Louie Shprung <lshprung@scu.edu> | 2023-12-21 12:20:20 -0800 |
commit | 11373742d701166f2580cfe67015eac012cda1a9 (patch) | |
tree | b24eeae8a6cd62b5c10741b5585230f6d5b15d1a /src/edit_entry_form.py | |
parent | 263943d2db2f47979912c704570108d77652c41c (diff) |
Fix UI file loading
Diffstat (limited to 'src/edit_entry_form.py')
-rw-r--r-- | src/edit_entry_form.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/edit_entry_form.py b/src/edit_entry_form.py index c1d3664..3c7f8c2 100644 --- a/src/edit_entry_form.py +++ b/src/edit_entry_form.py @@ -16,7 +16,8 @@ class editEntryForm(QDialog): def __init__(self, id): self.id = id super().__init__() - uic.loadUi(os.path.join("src", "add_entry_form.ui"), self) + uic.loadUi(os.path.join(os.path.dirname(os.path.abspath(__file__)), + "add_entry_form.ui"), self) self.initializeUI() def initializeUI(self): |