Skip to content

Commit

Permalink
disable icons for now
Browse files Browse the repository at this point in the history
  • Loading branch information
zkovari committed Oct 7, 2024
1 parent 9797815 commit 7936b95
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/python/plotlyst/view/widget/world/map.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,10 @@ def setMarker(self, item: 'MarkerItem'):
self._btnColor.setIcon(IconRegistry.from_name('fa5s.map-marker', color=marker.color))
self._sbSize.setValue(marker.size if marker.size else 50)

self._btnIcon.setEnabled(marker.type == GraphicsItemType.MAP_MARKER)
self._sbSize.setVisible(marker.type == GraphicsItemType.MAP_MARKER)
self._toolbar.updateGeometry()

self._item = item

@busy
Expand Down

0 comments on commit 7936b95

Please sign in to comment.