mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 00:40:02 +02:00
Src Edit: focussing editor after closing page
git-svn-id: trunk@9669 -
This commit is contained in:
parent
8518551f53
commit
8033f38b7c
@ -5014,6 +5014,7 @@ Begin
|
|||||||
Notebook.Pages.Delete(PageIndex);
|
Notebook.Pages.Delete(PageIndex);
|
||||||
//writeln('TSourceNotebook.CloseFile C PageIndex=',PageIndex,' Notebook.PageCount=',Notebook.PageCount);
|
//writeln('TSourceNotebook.CloseFile C PageIndex=',PageIndex,' Notebook.PageCount=',Notebook.PageCount);
|
||||||
UpdateStatusBar;
|
UpdateStatusBar;
|
||||||
|
ActiveControl:=Notebook.Page[Notebook.PageIndex];
|
||||||
end else
|
end else
|
||||||
begin
|
begin
|
||||||
//writeln('TSourceNotebook.CloseFile D PageIndex=',PageIndex);
|
//writeln('TSourceNotebook.CloseFile D PageIndex=',PageIndex);
|
||||||
|
Loading…
Reference in New Issue
Block a user