mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-11 20:39:15 +02:00
IDE: update DisplayState when switching tabs via mouse
git-svn-id: trunk@39781 -
This commit is contained in:
parent
95af5c2088
commit
7392702afb
@ -11240,6 +11240,11 @@ begin
|
||||
ASrcEdit := SourceEditorManager.SenderToEditor(Sender);
|
||||
if ASrcEdit=nil then exit;
|
||||
|
||||
{$IFDEF VerboseIDEDisplayState}
|
||||
debugln(['TMainIDE.OnSrcNotebookEditorActived']);
|
||||
{$ENDIF}
|
||||
DisplayState:=dsSource;
|
||||
|
||||
Project1.UpdateVisibleUnit(ASrcEdit,
|
||||
SourceEditorManager.IndexOfSourceWindow(ASrcEdit.SourceNotebook));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user