Skip to content

Commit 77eb53b

Browse files
committed
fix: change icon path
1 parent e8d8a31 commit 77eb53b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

loopstructural/plugin_main.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# standard
88
from functools import partial
99
from pathlib import Path
10+
import os
1011

1112
# PyQGIS
1213
from qgis.core import QgsApplication, QgsSettings
@@ -82,8 +83,8 @@ def initGui(self):
8283
lambda: self.iface.showOptionsDialog(currentPage="mOptionsPage{}".format(__title__))
8384
)
8485
self.action_modelling = QAction(
85-
QgsApplication.getThemeIcon("console/iconSettingsConsole.svg"),
86-
self.tr("Modelling"),
86+
QIcon(os.path.dirname(__file__)+"/icon.png"),
87+
self.tr("LoopStructural Modelling"),
8788
self.iface.mainWindow(),
8889
)
8990

0 commit comments

Comments
 (0)