mirror of https://gitlab.com/basile.b/dexed.git
fix, linux version, close editor from tab close btn, the matching editor was not closed if the tab not active
This commit is contained in:
parent
458839102d
commit
7eeae18d32
|
@ -260,6 +260,7 @@ end;
|
|||
{$IFDEF LINUX}
|
||||
procedure TCEEditorWidget.pageCloseBtnClick(Sender: TObject);
|
||||
begin
|
||||
PageControl.PageIndex := TTabSheet(sender).PageIndex;
|
||||
if fDoc <> nil then fDoc.Free;
|
||||
end;
|
||||
{$ENDIF}
|
||||
|
|
Loading…
Reference in New Issue