Skip to content

Commit

Permalink
Очистка старых значений поиска
Browse files Browse the repository at this point in the history
  • Loading branch information
nofeletru committed Dec 19, 2016
1 parent bde0e86 commit 6861339
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions software/main.pas
Original file line number Diff line number Diff line change
Expand Up @@ -1696,6 +1696,8 @@ procedure TMainForm.MenuCopyToClipClick(Sender: TObject);

procedure TMainForm.MenuFindChipClick(Sender: TObject);
begin
ChipSearchForm.EditSearch.Text:= '';
ChipSearchForm.ListBoxChips.Items.Clear;
ChipSearchForm.Show;
end;

Expand Down Expand Up @@ -2397,6 +2399,7 @@ procedure TMainForm.ButtonReadIDClick(Sender: TObject);
end;

ChipSearchForm.ListBoxChips.Clear;
ChipSearchForm.EditSearch.Text:= '';

FindChip.FindChip(XMLfile, '', IDstr);
if ChipSearchForm.ListBoxChips.Items.Capacity = 0 then FindChip.FindChip(XMLfile, '', IDstr90H);
Expand Down

0 comments on commit 6861339

Please sign in to comment.