Fix typo in Pad Enumeration tool.

Fixes: lp:1831950
* https://bugs.launchpad.net/kicad/+bug/1831950
This commit is contained in:
Jeff Young 2019-07-03 18:08:28 +01:00
parent 18995a1527
commit 1548dcfe8d
1 changed files with 2 additions and 1 deletions

View File

@ -320,7 +320,7 @@ int PAD_TOOL::pushPadSettings( const TOOL_EVENT& aEvent )
int PAD_TOOL::EnumeratePads( const TOOL_EVENT& aEvent )
{
if( !board()->GetFirstModule() || !board()->GetFirstModule()->Pads().empty() )
if( !board()->GetFirstModule() || board()->GetFirstModule()->Pads().empty() )
return 0;
DIALOG_ENUM_PADS settingsDlg( frame() );
@ -485,6 +485,7 @@ int PAD_TOOL::EnumeratePads( const TOOL_EVENT& aEvent )
evt->IsDblClick( BUT_LEFT ) )
{
commit.Push( _( "Renumber pads" ) );
frame()->PopTool();
break;
}