Note: Fix icons path.

dev
Pierre-Antoine 2025-05-06 15:02:59 +02:00
parent 5add1ac9f8
commit 6cd0058bea
1 changed files with 3 additions and 1 deletions

View File

@ -20,7 +20,9 @@ class NoteTab(QWidget):
''' This class generates a enhanced notepad in Note Tab ''' ''' This class generates a enhanced notepad in Note Tab '''
def _path_icon(self, icon): 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): def __init__(self, widget_tab):
super().__init__() super().__init__()