From c56990e1105ae8e559cd6d3f41dc3761438b5d9f Mon Sep 17 00:00:00 2001 From: mbobra Date: Thu, 1 Aug 2019 15:06:15 -0400 Subject: [PATCH] added label for colormaps --- glue/utils/qt/colors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glue/utils/qt/colors.py b/glue/utils/qt/colors.py index 924499784..9272858c1 100644 --- a/glue/utils/qt/colors.py +++ b/glue/utils/qt/colors.py @@ -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):