If not setting modified on a commit, at least update 3D viewer.

Fixes https://gitlab.com/kicad/code/kicad/issues/6296
This commit is contained in:
Jeff Young 2020-11-05 11:08:08 +00:00
parent 2b438cc909
commit cff1e0ab0a
1 changed files with 2 additions and 0 deletions

View File

@ -353,6 +353,8 @@ void BOARD_COMMIT::Push( const wxString& aMessage, bool aCreateUndoEntry, bool a
if( aSetDirtyBit )
frame->OnModify();
else
frame->Update3DView( false );
frame->UpdateMsgPanel();