mirror of https://gitlab.com/basile.b/dexed.git
fix message w/ file & pos not clickable anymore
This commit is contained in:
parent
48c28bffcb
commit
98be70f68f
|
@ -468,10 +468,7 @@ begin
|
||||||
Itm.Visible := false;
|
Itm.Visible := false;
|
||||||
msgdt := PMessageData(itm.Data);
|
msgdt := PMessageData(itm.Data);
|
||||||
if aCtxt = amcAll then
|
if aCtxt = amcAll then
|
||||||
begin
|
Itm.Visible := true
|
||||||
Itm.Visible := true;
|
|
||||||
continue;
|
|
||||||
end
|
|
||||||
else case msgdt^.ctxt of
|
else case msgdt^.ctxt of
|
||||||
amcEdit: itm.Visible := (fDoc = TCESynMemo(msgdt^.data)) and (aCtxt = amcEdit);
|
amcEdit: itm.Visible := (fDoc = TCESynMemo(msgdt^.data)) and (aCtxt = amcEdit);
|
||||||
amcProj: itm.Visible := (fProj = TCEProject(msgdt^.data)) and (aCtxt = amcProj);
|
amcProj: itm.Visible := (fProj = TCEProject(msgdt^.data)) and (aCtxt = amcProj);
|
||||||
|
@ -602,7 +599,7 @@ begin
|
||||||
exit;
|
exit;
|
||||||
ext := extractFileExt(ident);
|
ext := extractFileExt(ident);
|
||||||
// error in import(file) content: ext may be different
|
// error in import(file) content: ext may be different
|
||||||
if not dExtList.IndexOf(ext) = -1 then
|
if dExtList.IndexOf(ext) = -1 then
|
||||||
exit;
|
exit;
|
||||||
CEMainForm.openFile(ident);
|
CEMainForm.openFile(ident);
|
||||||
result := true;
|
result := true;
|
||||||
|
|
Loading…
Reference in New Issue