mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-10 05:47:09 +01:00
Merge pull request #695 from robmcmullen/cubecolorfixes
Fixed inverse state of "Show Alpha Control" toggle
This commit is contained in:
@@ -3311,7 +3311,7 @@ class CubeColourDialog(wx.Dialog):
|
||||
:param `agwStyle`: can only be ``CCD_SHOW_ALPHA`` or ``None``.
|
||||
"""
|
||||
|
||||
show = self.GetAGWWindowStyleFlag() & CCD_SHOW_ALPHA
|
||||
show = agwStyle & CCD_SHOW_ALPHA
|
||||
self._agwStyle = agwStyle
|
||||
|
||||
self.mainSizer.Show(self.alphaSizers[0], show)
|
||||
|
||||
Reference in New Issue
Block a user