Fixed a mistake in the previous commit.

This commit is contained in:
Maciej Suminski 2015-09-02 10:55:35 +02:00
parent 9c9b0d1c6d
commit 387054d83f
1 changed files with 3 additions and 1 deletions

View File

@ -663,7 +663,9 @@ void PCB_EDIT_FRAME::UseGalCanvas( bool aEnable )
{
if( aEnable )
{
if( ( BOARD* board = GetBoard() ) )
BOARD* board = GetBoard();
if( board )
board->GetRatsnest()->ProcessBoard();
}
else