mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Restore locked path for first tab
This commit is contained in:
parent
41312923f4
commit
a7b9b02222
1 changed files with 6 additions and 1 deletions
|
|
@ -3138,7 +3138,12 @@ begin
|
|||
iActiveTab := gConfig.GetValue(RootNode, 'ActiveTab', 0);
|
||||
// set active tab
|
||||
if (iActiveTab >= 0) and (iActiveTab < ANoteBook.PageCount) then
|
||||
ANoteBook.PageIndex := iActiveTab;
|
||||
begin
|
||||
if ANoteBook.PageIndex = iActiveTab then
|
||||
nbPageChanged(ANoteBook)
|
||||
else
|
||||
ANoteBook.PageIndex := iActiveTab;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue