Some coverity fixes
This commit is contained in:
committed by
Chris Pavlina
parent
57fe3739ca
commit
b98cc0b937
@@ -905,8 +905,7 @@ void SIM_PLOT_FRAME::menuShowGridUpdate( wxUpdateUIEvent& event )
|
||||
{
|
||||
SIM_PLOT_PANEL* plot = CurrentPlot();
|
||||
|
||||
if( plot )
|
||||
event.Check( plot ? plot->IsGridShown() : false );
|
||||
event.Check( plot ? plot->IsGridShown() : false );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user