- Fixed filter window to invalidate the current filters on delete/clear
This commit is contained in:
parent
5f76073b39
commit
6edee941ee
|
@ -11,7 +11,6 @@
|
||||||
<MainUnit Value="0"/>
|
<MainUnit Value="0"/>
|
||||||
<TargetFileExt Value=".exe"/>
|
<TargetFileExt Value=".exe"/>
|
||||||
<Title Value="CentrED"/>
|
<Title Value="CentrED"/>
|
||||||
<LFMResourceType Value="res"/>
|
|
||||||
<Icon Value="0"/>
|
<Icon Value="0"/>
|
||||||
</General>
|
</General>
|
||||||
<LazDoc Paths="../doc"/>
|
<LazDoc Paths="../doc"/>
|
||||||
|
|
|
@ -329,6 +329,7 @@ end;
|
||||||
procedure TfrmFilter.btnDeleteClick(Sender: TObject);
|
procedure TfrmFilter.btnDeleteClick(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
vdtFilter.DeleteSelectedNodes;
|
vdtFilter.DeleteSelectedNodes;
|
||||||
|
frmMain.InvalidateFilter;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TfrmFilter.cbHueFilterChange(Sender: TObject);
|
procedure TfrmFilter.cbHueFilterChange(Sender: TObject);
|
||||||
|
@ -344,6 +345,7 @@ end;
|
||||||
procedure TfrmFilter.btnClearClick(Sender: TObject);
|
procedure TfrmFilter.btnClearClick(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
vdtFilter.Clear;
|
vdtFilter.Clear;
|
||||||
|
frmMain.InvalidateFilter;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
initialization
|
initialization
|
||||||
|
|
Loading…
Reference in New Issue