Skip to content

Commit

Permalink
added label for colormaps
Browse files Browse the repository at this point in the history
  • Loading branch information
mbobra committed Aug 1, 2019
1 parent cda7b35 commit c56990e
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 c56990e

Please sign in to comment.