Disable right click context menu for measurement tool
This commit is contained in:
parent
b8ecc95d9c
commit
5f2e9a1e57
|
@ -1201,11 +1201,6 @@ int EDIT_TOOL::MeasureTool( const TOOL_EVENT& aEvent )
|
|||
view.SetVisible( &ruler, true );
|
||||
view.Update( &ruler, KIGFX::GEOMETRY );
|
||||
}
|
||||
|
||||
else if( evt->IsClick( BUT_RIGHT ) )
|
||||
{
|
||||
GetManager()->PassEvent();
|
||||
}
|
||||
}
|
||||
|
||||
view.SetVisible( &ruler, false );
|
||||
|
|
Loading…
Reference in New Issue