Commits

Aleš Erjavec  committed f92bad2

Update the table view after color selection.

  • Participants
  • Parent commits 27c26e9

Comments (0)

Files changed (1)

File Orange/OrangeWidgets/Data/OWDataTable.py

             self.colorSettings = dlg.getColorSchemas()
             self.selectedSchemaIndex = dlg.selectedSchemaIndex
             self.discPalette = dlg.getDiscretePalette("discPalette")
-            self.distColorRgb = dlg.getColor("Default")
+            self.distColor = color = dlg.getColor("Default")
+            self.distColorRgb = (color.red(), color.green(), color.red())
+
+            if self.showDistributions:
+                # Update the views
+                self.cbShowDistributions()
 
     def increaseColWidth(self):
         table = self.tabs.currentWidget()