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:
parent
e8b11c911e
commit
75cdf9df4e
|
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue