Skip to content

Commit

Permalink
Merge pull request #22479 from MAKOMO/main
Browse files Browse the repository at this point in the history
FIX: adds _enum qualifier for QColorDialog.ShowAlphaChannel. Closes #22471.
  • Loading branch information
tacaswell committed Feb 17, 2022
2 parents 593ff96 + 4213c20 commit c2f39dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/matplotlib/backends/qt_editor/_formlayout.py
Expand Up @@ -71,7 +71,7 @@ def __init__(self, parent=None):
def choose_color(self):
color = QtWidgets.QColorDialog.getColor(
self._color, self.parentWidget(), "",
QtWidgets.QColorDialog.ShowAlphaChannel)
_enum("QtWidgets.QColorDialog.ColorDialogOption").ShowAlphaChannel)
if color.isValid():
self.set_color(color)

Expand Down

0 comments on commit c2f39dd

Please sign in to comment.