summaryrefslogtreecommitdiff
path: root/src/edit_entry_form.py
diff options
context:
space:
mode:
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):