Skip to content

Commit

Permalink
Add Plugins menu icon for QFieldSync
Browse files Browse the repository at this point in the history
  • Loading branch information
domi4484 committed Aug 16, 2023
1 parent 163c099 commit 843789a
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 843789a

Please sign in to comment.