mirror of https://gitlab.com/basile.b/dexed.git
disable symlist with non d files
This commit is contained in:
parent
c75de19110
commit
c509e34be4
|
@ -561,7 +561,7 @@ end;
|
||||||
|
|
||||||
procedure TCESymbolListWidget.updateVisibleCat;
|
procedure TCESymbolListWidget.updateVisibleCat;
|
||||||
begin
|
begin
|
||||||
if fDoc.isNotNil then
|
if fDoc.isNotNil and fDoc.isDSource then
|
||||||
begin
|
begin
|
||||||
ndAlias.Visible := ndAlias.Count > 0;
|
ndAlias.Visible := ndAlias.Count > 0;
|
||||||
ndClass.Visible := ndClass.Count > 0;
|
ndClass.Visible := ndClass.Count > 0;
|
||||||
|
@ -672,8 +672,12 @@ var
|
||||||
begin
|
begin
|
||||||
if not fHasToolExe then exit;
|
if not fHasToolExe then exit;
|
||||||
if fDoc.isNil then exit;
|
if fDoc.isNil then exit;
|
||||||
if fDoc.Lines.Count = 0 then exit;
|
if (fDoc.Lines.Count = 0) or not fDoc.isDSource then
|
||||||
if not fDoc.isDSource then exit;
|
begin
|
||||||
|
clearTree;
|
||||||
|
updateVisibleCat;
|
||||||
|
exit;
|
||||||
|
end;
|
||||||
//
|
//
|
||||||
killProcess(fToolProc);
|
killProcess(fToolProc);
|
||||||
fToolProc := TCEProcess.Create(nil);
|
fToolProc := TCEProcess.Create(nil);
|
||||||
|
|
Loading…
Reference in New Issue