Skip to content

Commit

Permalink
wxGUI/lmgr: fix unfocused Layers pane wx.ListCtrl widget row backgrou…
Browse files Browse the repository at this point in the history
…nd color (#3264)

On the wxMac.
  • Loading branch information
tmszi committed Nov 27, 2023
1 parent 2b8e503 commit 4956ad2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gui/wxpython/lmgr/layertree.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ def __init__(
# when some layers are not visible in layer tree
# self.SetAutoLayout(True)
self.SetGradientStyle(1)
self.EnableSelectionGradient(True)
if sys.platform != "darwin":
self.EnableSelectionGradient(True)
self._setGradient()

# init associated map display
Expand Down

0 comments on commit 4956ad2

Please sign in to comment.