diff --git a/plugins/tools/basictools/kis_tool_path.cc b/plugins/tools/basictools/kis_tool_path.cc --- a/plugins/tools/basictools/kis_tool_path.cc +++ b/plugins/tools/basictools/kis_tool_path.cc @@ -62,6 +62,12 @@ localTool()->removeLastPoint(); return true; } + } else if (event->type() == QEvent::TabletPress) { + QTabletEvent *tabletEvent = static_cast(event); + if (tabletEvent->button() == Qt::RightButton) { + localTool()->removeLastPoint(); + return true; + } } return false; }