Skip to content

Commit

Permalink
Merge pull request #2053 from mbobra/master
Browse files Browse the repository at this point in the history
Added label for colormaps
  • Loading branch information
astrofrog authored Aug 1, 2019
2 parents cda7b35 + c56990e commit d7e3c93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glue/utils/qt/colors.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ class QColormapCombo(QtWidgets.QComboBox):
def __init__(self, *args, **kwargs):
super(QColormapCombo, self).__init__(*args, **kwargs)
for label, cmap in config.colormaps:
self.addItem("", userData=UserDataWrapper(cmap))
self.addItem(label, userData=UserDataWrapper(cmap))
self._update_icons()

def _update_icons(self):
Expand Down

0 comments on commit d7e3c93

Please sign in to comment.