From 6cd0058beaf0b758983169cdeeb7ba9628d9f879 Mon Sep 17 00:00:00 2001 From: Pierre-Antoine Rouby Date: Tue, 6 May 2025 15:02:59 +0200 Subject: [PATCH] Note: Fix icons path. --- View/note_tab.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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__()