DockedFormEditor: Refresh all PageControls after options are changed, so tab position is correctly changed.

git-svn-id: trunk@64987 -
This commit is contained in:
michl 2021-04-13 18:31:49 +00:00
parent aa96e17781
commit 703b0f188a

View File

@ -234,7 +234,7 @@ begin
LPageIndex := LPageCtrl.PageIndex;
DesignForms.RemoveAllAnchorDesigner;
SourceWindows.ShowCodeTabSkipCurrent(nil, nil);
SourceWindows.RefreshActivePageControls;
SourceWindows.RefreshAllPageControls;
TDockedMainIDE.EditorActivated(SourceWindows.LastActiveSourceEditor);
if LPageIndex = 0 then Exit;
LPageCtrl.TabIndex := LPageIndex;