summaryrefslogtreecommitdiff
path: root/src/edit_entry_form.py
diff options
context:
space:
mode:
authorLouie Shprung <lshprung@scu.edu>2023-12-21 12:20:20 -0800
committerLouie Shprung <lshprung@scu.edu>2023-12-21 12:20:20 -0800
commit11373742d701166f2580cfe67015eac012cda1a9 (patch)
treeb24eeae8a6cd62b5c10741b5585230f6d5b15d1a /src/edit_entry_form.py
parent263943d2db2f47979912c704570108d77652c41c (diff)
Fix UI file loading
Diffstat (limited to 'src/edit_entry_form.py')
-rw-r--r--src/edit_entry_form.py3
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):