From 7936b95074271c2b84a25c5ac3d5d9088c4f9e50 Mon Sep 17 00:00:00 2001 From: Zsolt Kovari Date: Mon, 7 Oct 2024 14:22:40 +0200 Subject: [PATCH] disable icons for now --- src/main/python/plotlyst/view/widget/world/map.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/python/plotlyst/view/widget/world/map.py b/src/main/python/plotlyst/view/widget/world/map.py index 13727fe16..f3e94815b 100644 --- a/src/main/python/plotlyst/view/widget/world/map.py +++ b/src/main/python/plotlyst/view/widget/world/map.py @@ -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