mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-02 21:59:39 +02:00
LazReport, fix preview's find button always visible, issue #25831
git-svn-id: trunk@44369 -
This commit is contained in:
parent
c3b928689b
commit
c9dc2d4de1
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user