mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 23:18:01 +02:00
Source editor: Do not display ampersand in the caption of the editor tab
This commit is contained in:
parent
6fb52e6528
commit
702da48437
@ -5580,6 +5580,7 @@ begin
|
||||
NewPageCaption:=FPageName;
|
||||
if IsLocked then NewPageCaption:='#'+NewPageCaption;
|
||||
if Modified then NewPageCaption:='*'+NewPageCaption;
|
||||
NewPageCaption := StringReplace(NewPageCaption, '&', '', [rfReplaceAll]);
|
||||
if SourceNotebook.NoteBookPages[p] <> NewPageCaption then begin
|
||||
SourceNotebook.NoteBookPages[p] := NewPageCaption;
|
||||
SourceNotebook.UpdateTabsAndPageTitle;
|
||||
|
Loading…
Reference in New Issue
Block a user