diff --git a/ide/uniteditor.pp b/ide/uniteditor.pp index e243c4e87a..aa619d21c0 100644 --- a/ide/uniteditor.pp +++ b/ide/uniteditor.pp @@ -5574,6 +5574,7 @@ begin end; Statusbar.EndUpdate; + CheckCurrentCodeBufferChanged; UpdateLazDoc; End; @@ -5653,9 +5654,9 @@ Begin UpdateActiveEditColors; if Assigned(FOnEditorVisibleChanged) then FOnEditorVisibleChanged(sender); - CheckCurrentCodeBufferChanged; end; + CheckCurrentCodeBufferChanged; UpdateLazDoc; end;