Skip to content

Commit

Permalink
Merge pull request #538 from opengisch/iconInMenu
Browse files Browse the repository at this point in the history
  • Loading branch information
suricactus authored Aug 22, 2023
2 parents 163c099 + 843789a commit bd70b4c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions qfieldsync/qfield_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,13 @@ def initGui(self):
separator_before=True,
)

# Menu icon
self.get_qfield_action().setIcon(
QIcon(
os.path.join(os.path.dirname(__file__), "resources", "qfield_logo.svg")
)
)

self.iface.registerMapLayerConfigWidgetFactory(self.mapLayerConfigWidgetFactory)

if Qgis.QGIS_VERSION_INT >= 31500:
Expand Down

0 comments on commit bd70b4c

Please sign in to comment.