diff --git a/src/app/ui/context_bar.cpp b/src/app/ui/context_bar.cpp index 1e1788c106..1983fa9c61 100644 --- a/src/app/ui/context_bar.cpp +++ b/src/app/ui/context_bar.cpp @@ -1691,7 +1691,7 @@ void ContextBar::updateForTool(tools::Tool* tool) ((isPaint && (hasInkWithOpacity || hasImageBrush)) || (isEffect)); - const bool withDithering = + const bool withDithering = tool && (tool->getInk(0)->withDitheringOptions() || tool->getInk(1)->withDitheringOptions());