Merge pull request #436 from peetCreative/fix_color_chooser_lack

fixes #413
presentation
peetCreative 7 years ago committed by GitHub
commit 4be6e9502f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/gui/toolbarMenubar/ColorToolItem.cpp

@ -74,7 +74,7 @@ void ColorToolItem::enableColor(int color)
if (isSelector())
{
gtk_image_set_from_pixbuf(GTK_IMAGE(this->iconWidget), ToolbarUtil::newColorIconPixbuf(this->color, 16, !isSelector()));
gtk_image_set_from_pixbuf(GTK_IMAGE(this->iconWidget), ToolbarUtil::newColorIconPixbuf(color, 16, !isSelector()));
this->color = color;
if (GTK_IS_TOGGLE_BUTTON(this->item))
{

Loading…
Cancel
Save