Browse Source

Fix fallthrough warning

pcb_db
Jon Evans 1 year ago
parent
commit
673bb2f152
  1. 5
      pcbnew/tools/edit_tool.cpp

5
pcbnew/tools/edit_tool.cpp

@ -3018,6 +3018,7 @@ int EDIT_TOOL::Increment( const TOOL_EVENT& aEvent )
commit.Modify( &pad );
pad.SetNumber( *newNumber );
}
break;
}
case PCB_TEXT_T:
@ -3032,12 +3033,12 @@ int EDIT_TOOL::Increment( const TOOL_EVENT& aEvent )
commit.Modify( &text );
text.SetText( *newText );
}
break;
}
default:
{
break;
}
}
}
commit.Push( _( "Increment" ) );

Loading…
Cancel
Save