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;
|
||||
|
||||
procedure TCEMainForm.actEdFindExecute(Sender: TObject);
|
||||
var
|
||||
win: TAnchorDockHostSite;
|
||||
str: string;
|
||||
begin
|
||||
if fDoc.isNil then
|
||||
exit;
|
||||
win := DockMaster.GetAnchorSite(fFindWidg);
|
||||
if win.isNil then
|
||||
exit;
|
||||
win.Show;
|
||||
win.BringToFront;
|
||||
fFindWidg.showWidget;
|
||||
|
||||
if fDoc.SelAvail then
|
||||
str := fDoc.SelText
|
||||
|
|
Loading…
Reference in New Issue