From 420b38e42672e3c68ae13bc1f1b93ee0c89d9df3 Mon Sep 17 00:00:00 2001 From: David Capello Date: Fri, 10 Jul 2015 17:37:09 -0300 Subject: [PATCH] Fix HSV Alpha slider in Palette Editor when only one entry is selected --- src/app/commands/cmd_palette_editor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/commands/cmd_palette_editor.cpp b/src/app/commands/cmd_palette_editor.cpp index 8e2411ccc..3ea534863 100644 --- a/src/app/commands/cmd_palette_editor.cpp +++ b/src/app/commands/cmd_palette_editor.cpp @@ -549,6 +549,7 @@ void PaletteEntryEditor::setAbsolutePaletteEntryChannel(ColorSliders::Channel ch hsv.hue(color.getHue()); hsv.saturation(double(color.getSaturation()) / 100.0); hsv.value(double(color.getValue()) / 100.0); + a = color.getAlpha(); } // Modify one channel a set of entries else {