Note: Fix icons path.
parent
5add1ac9f8
commit
6cd0058bea
|
|
@ -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__()
|
||||
|
|
|
|||
Loading…
Reference in New Issue