- Fixed filter window to invalidate the current filters on delete/clear

This commit is contained in:
Andreas Schneider 2009-12-28 16:40:37 +01:00
parent 5f76073b39
commit 6edee941ee
2 changed files with 355 additions and 354 deletions

View File

@ -11,7 +11,6 @@
<MainUnit Value="0"/>
<TargetFileExt Value=".exe"/>
<Title Value="CentrED"/>
<LFMResourceType Value="res"/>
<Icon Value="0"/>
</General>
<LazDoc Paths="../doc"/>

View File

@ -329,6 +329,7 @@ end;
procedure TfrmFilter.btnDeleteClick(Sender: TObject);
begin
vdtFilter.DeleteSelectedNodes;
frmMain.InvalidateFilter;
end;
procedure TfrmFilter.cbHueFilterChange(Sender: TObject);
@ -344,6 +345,7 @@ end;
procedure TfrmFilter.btnClearClick(Sender: TObject);
begin
vdtFilter.Clear;
frmMain.InvalidateFilter;
end;
initialization