diff --git a/pcbnew/pcb_edit_frame.cpp b/pcbnew/pcb_edit_frame.cpp index c71fd0fb00..a0c6af7050 100644 --- a/pcbnew/pcb_edit_frame.cpp +++ b/pcbnew/pcb_edit_frame.cpp @@ -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(); }