LazReport, fix preview's find button always visible, issue #25831

git-svn-id: trunk@44369 -
This commit is contained in:
jesus 2014-03-07 19:06:27 +00:00
parent c3b928689b
commit c9dc2d4de1

View File

@ -632,6 +632,7 @@ begin
if not (csDesigning in TfrReport(Doc).ComponentState) then
begin
FindBtn.Visible := pbFind in TfrReport(Doc).PreviewButtons;
ZoomBtn.Visible := pbZoom in TfrReport(Doc).PreviewButtons;
SaveBtn.Visible := (pbSave in TfrReport(Doc).PreviewButtons) and not
((frFiltersCount = 0) and (roHideDefaultFilter in TfrReport(Doc).Options));