mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 13:39:30 +02:00
Merge branch 'IDE/Editor/RemTabAmp' into 'main'
Source editor: Do not display ampersand in the caption of the editor tab See merge request freepascal.org/lazarus/lazarus!321
This commit is contained in:
commit
32b7fe9e7a
@ -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