mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Update tabs captions after changing options.
This commit is contained in:
parent
6ac45e622d
commit
cca3bdb6cd
2 changed files with 5 additions and 2 deletions
|
|
@ -2754,7 +2754,8 @@ procedure TfrmMain.UpdateWindowView;
|
|||
|
||||
for I := 0 to NoteBook.PageCount - 1 do // change on all tabs
|
||||
begin
|
||||
NoteBook[I].UpdateView;
|
||||
NoteBook.Page[I].UpdateCaption(GetLastDir(NoteBook.View[I].CurrentPath));
|
||||
NoteBook.View[I].UpdateView;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ implementation
|
|||
|
||||
uses
|
||||
WSExtCtrls,
|
||||
fMain, uGlobs;
|
||||
uGlobs;
|
||||
|
||||
// -- TFileViewPage -----------------------------------------------------------
|
||||
|
||||
|
|
@ -142,6 +142,8 @@ begin
|
|||
Caption := Copy(NewCaption, 1, gDirTabLimit) + '...'
|
||||
else
|
||||
Caption := NewCaption;
|
||||
|
||||
UpdateTabLockState;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue