Skip to content
Permalink
Browse files

Fix first color palette item not changing bitmap drawing color

  • Loading branch information...
scribblemaniac committed Apr 12, 2019
1 parent ef235f0 commit 5aa4d9cdfa431ea822b713a0f43e56a419c3b172
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/src/colorpalettewidget.cpp
@@ -148,7 +148,7 @@ void ColorPaletteWidget::setColor(QColor newColor, int colorIndex)
QSignalBlocker b(ui->colorListWidget);
ui->colorListWidget->setCurrentRow(colorIndex);

if (colorIndex > 0)
if (colorIndex >= 0)
{
emit colorChanged(newColor);
}

0 comments on commit 5aa4d9c

Please sign in to comment.
You can’t perform that action at this time.