Don't call OnPageSettingsChanges on Undo/Redo.

It's incredibly expensive (multiple seconds on a document with
lots of text in an outline font).

(cherry picked from commit 81d7428fd2)
This commit is contained in:
Jeff Young 2023-05-27 20:35:05 +01:00
parent c1d8e979f3
commit 06f17d9415
1 changed files with 0 additions and 1 deletions

View File

@ -1250,7 +1250,6 @@ int SCH_EDITOR_CONTROL::Redo( const TOOL_EVENT& aEvent )
m_frame->SetSheetNumberAndCount();
m_frame->TestDanglingEnds();
m_frame->OnPageSettingsChange();
m_toolMgr->GetTool<EE_SELECTION_TOOL>()->RebuildSelection();