diff --git a/View/note_tab.py b/View/note_tab.py index f900262..8c8cada 100644 --- a/View/note_tab.py +++ b/View/note_tab.py @@ -20,7 +20,9 @@ class NoteTab(QWidget): ''' This class generates a enhanced notepad in Note Tab ''' def _path_icon(self, icon): - return os.path.join("icons", icon) + return os.path.join( + os.path.dirname(__file__), "..", "icons", icon + ) def __init__(self, widget_tab): super().__init__()