mirror of https://gitlab.com/basile.b/dexed.git
fix #266 - Search widget not shown when tabbed and CTRL+F
This commit is contained in:
parent
230562fdb4
commit
d8b7e640ab
|
@ -2697,17 +2697,11 @@ begin
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TCEMainForm.actEdFindExecute(Sender: TObject);
|
procedure TCEMainForm.actEdFindExecute(Sender: TObject);
|
||||||
var
|
|
||||||
win: TAnchorDockHostSite;
|
|
||||||
str: string;
|
str: string;
|
||||||
begin
|
begin
|
||||||
if fDoc.isNil then
|
if fDoc.isNil then
|
||||||
exit;
|
exit;
|
||||||
win := DockMaster.GetAnchorSite(fFindWidg);
|
fFindWidg.showWidget;
|
||||||
if win.isNil then
|
|
||||||
exit;
|
|
||||||
win.Show;
|
|
||||||
win.BringToFront;
|
|
||||||
|
|
||||||
if fDoc.SelAvail then
|
if fDoc.SelAvail then
|
||||||
str := fDoc.SelText
|
str := fDoc.SelText
|
||||||
|
|
Loading…
Reference in New Issue