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:
Basile Burg 2015-11-06 23:46:42 +01:00
parent 458839102d
commit 7eeae18d32
1 changed files with 1 additions and 0 deletions

View File

@ -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}