Fix polarity of curved ratlines button

This commit is contained in:
Jon Evans 2019-04-11 21:49:45 -04:00
parent df600fc1a2
commit 69a66fc826
1 changed files with 2 additions and 2 deletions

View File

@ -150,9 +150,9 @@ void PCB_EDIT_FRAME::OnUpdateHighContrastDisplayMode( wxUpdateUIEvent& aEvent )
void PCB_EDIT_FRAME::OnUpdateCurvedRatsnest( wxUpdateUIEvent& aEvent )
{
auto displ_opts = (PCB_DISPLAY_OPTIONS*)GetDisplayOptions();
aEvent.Check( !displ_opts->m_DisplayRatsnestLinesCurved );
aEvent.Check( displ_opts->m_DisplayRatsnestLinesCurved );
m_optionsToolBar->SetToolShortHelp( ID_TB_OPTIONS_CURVED_RATSNEST_LINES,
displ_opts->m_DisplayRatsnestLinesCurved ?
!displ_opts->m_DisplayRatsnestLinesCurved ?
_( "Show ratlines as curves" ) :
_( "Show ratlines as straight lines" ) );
}