mirror of https://gitlab.com/basile.b/dexed.git
dub project editor, expand items when needed
This commit is contained in:
parent
2eca7e5e37
commit
2d06f1e035
|
@ -21,10 +21,10 @@ inherited CEDubProjectEditorWidget: TCEDubProjectEditorWidget
|
|||
Height = 416
|
||||
Top = 4
|
||||
Width = 403
|
||||
ActivePage = TabSheet2
|
||||
ActivePage = TabSheet1
|
||||
Align = alClient
|
||||
BorderSpacing.Around = 4
|
||||
TabIndex = 1
|
||||
TabIndex = 0
|
||||
TabOrder = 0
|
||||
object TabSheet1: TTabSheet
|
||||
Caption = 'Inspector'
|
||||
|
|
|
@ -467,6 +467,9 @@ begin
|
|||
node.SelectedIndex := 2;
|
||||
node.StateIndex := 2;
|
||||
end;
|
||||
// first update or update cause by editor
|
||||
if (not fNodeConfig.Expanded) and (not fNodeSources.Expanded) then
|
||||
treeInspect.FullExpand;
|
||||
treeInspect.EndUpdate;
|
||||
end;
|
||||
|
||||
|
|
Loading…
Reference in New Issue