Don't say the board must be empty to be modified

It is possible to empty a full board and have modifications that
should be saved.

Fixes https://gitlab.com/kicad/code/kicad/issues/3739
This commit is contained in:
Ian McInerney 2020-08-14 00:10:04 +01:00
parent e8b11c911e
commit 75cdf9df4e
1 changed files with 1 additions and 1 deletions

View File

@ -436,7 +436,7 @@ void PCB_EDIT_FRAME::SetPageSettings( const PAGE_INFO& aPageSettings )
bool PCB_EDIT_FRAME::IsContentModified()
{
return GetScreen() && GetScreen()->IsModify() && GetBoard() && !GetBoard()->IsEmpty();
return GetScreen() && GetScreen()->IsModify();
}