FindAdv: no paragraph indentation for more space in the search string

See #11555

(cherry picked from commit 638c04dd6a)
This commit is contained in:
Daniel Ramoeller 2023-12-31 14:36:01 +01:00 committed by Kornel Benko
parent 32a680e4fe
commit f957964e9b

View File

@ -630,6 +630,9 @@ void FindAndReplaceWidget::showEvent(QShowEvent * /* ev */)
copy_params(*bv, find_work_area_->bufferView()); copy_params(*bv, find_work_area_->bufferView());
copy_params(*bv, replace_work_area_->bufferView()); copy_params(*bv, replace_work_area_->bufferView());
} }
// no paragraph indentation for more space
find_work_area_->bufferView().buffer().params().setParIndent(Length(0, Length::IN));
replace_work_area_->bufferView().buffer().params().setParIndent(Length(0, Length::IN));
find_work_area_->installEventFilter(this); find_work_area_->installEventFilter(this);
replace_work_area_->installEventFilter(this); replace_work_area_->installEventFilter(this);