diff --git a/src/app/ui/editor/editor.cpp b/src/app/ui/editor/editor.cpp index fe01cc439..63deceba1 100644 --- a/src/app/ui/editor/editor.cpp +++ b/src/app/ui/editor/editor.cpp @@ -1518,7 +1518,8 @@ bool Editor::startStraightLineWithFreehandTool() { tools::Tool* tool = App::instance()->activeToolManager()->selectedTool(); return - (tool && + (isActive() && + tool && tool->getController(0)->isFreehand() && tool->getInk(0)->isPaint() && (getCustomizationDelegate()