Show ink selector even when a custom brush is selected

Related to #945, anyway it needs more work so we can mix the custom
brush as a color source for the current ink.
This commit is contained in:
David Capello 2016-02-15 20:40:37 -03:00
parent 8ca5b0c2f7
commit 24e329ffeb

View File

@ -1550,7 +1550,7 @@ void ContextBar::updateForTool(tools::Tool* tool)
m_brushSize->setVisible(supportOpacity && !isFloodfill && !hasImageBrush);
m_brushAngle->setVisible(supportOpacity && !isFloodfill && !hasImageBrush && hasBrushWithAngle);
m_brushPatternField->setVisible(supportOpacity && hasImageBrush);
m_inkType->setVisible(hasInk && !hasImageBrush);
m_inkType->setVisible(hasInk);
m_inkOpacityLabel->setVisible(showOpacity);
m_inkOpacity->setVisible(showOpacity);
m_inkShades->setVisible(hasInkShades);