From: Daniel Ramoeller Date: Sun, 31 Dec 2023 13:36:01 +0000 (+0100) Subject: FindAdv: no paragraph indentation for more space in the search string X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=638c04dd6aab3e16063a03183e25491f83780b68;p=features.git FindAdv: no paragraph indentation for more space in the search string See #11555 --- diff --git a/src/frontends/qt/FindAndReplace.cpp b/src/frontends/qt/FindAndReplace.cpp index 8c8ad115bd..b53c520974 100644 --- a/src/frontends/qt/FindAndReplace.cpp +++ b/src/frontends/qt/FindAndReplace.cpp @@ -630,6 +630,9 @@ void FindAndReplaceWidget::showEvent(QShowEvent * /* ev */) copy_params(*bv, find_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); replace_work_area_->installEventFilter(this);