Disable right click context menu for measurement tool

This commit is contained in:
Maciej Suminski 2018-01-26 15:55:33 +01:00
parent b8ecc95d9c
commit 5f2e9a1e57
1 changed files with 0 additions and 5 deletions

View File

@ -1201,11 +1201,6 @@ int EDIT_TOOL::MeasureTool( const TOOL_EVENT& aEvent )
view.SetVisible( &ruler, true ); view.SetVisible( &ruler, true );
view.Update( &ruler, KIGFX::GEOMETRY ); view.Update( &ruler, KIGFX::GEOMETRY );
} }
else if( evt->IsClick( BUT_RIGHT ) )
{
GetManager()->PassEvent();
}
} }
view.SetVisible( &ruler, false ); view.SetVisible( &ruler, false );