summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Tietze <tietze.heiko@gmail.com>2023-11-29 14:29:57 +0100
committerHeiko Tietze <heiko.tietze@documentfoundation.org>2023-11-30 11:41:38 +0100
commit48ba98a51f029cd14b5d982dab36eb581d40fef3 (patch)
tree10fee471fd3bcc7fa7db3b37cfae968e6e334cf0
parentfe946f86ad6586fa810cae5c0f246389a285e172 (diff)
Resolves tdf#158412 - Don't show chevron in quick find bar
Change-Id: I50f0bb7d8a406b77baccc626ca99b656d170ecf1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160093 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
-rw-r--r--svx/source/form/labelitemwindow.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/form/labelitemwindow.cxx b/svx/source/form/labelitemwindow.cxx
index 1ccbe6c5d156..c9afd1534acc 100644
--- a/svx/source/form/labelitemwindow.cxx
+++ b/svx/source/form/labelitemwindow.cxx
@@ -50,7 +50,8 @@ void LabelItemWindow::set_label(const OUString& rLabel, const LabelItemWindowTyp
m_xLabel->set_font_color(Color(0x00, 0x47, 0x85));
m_xBox->set_background(Color(0xBD, 0xE5, 0xF8)); // same as InfobarType::INFO
}
- m_xLabel->set_visible(!rLabel.isEmpty());
+ m_xLabel->set_visible(
+ true); // always show and not just if !rLabel.isEmpty() to not make the chevron appear
}
OUString LabelItemWindow::get_label() const { return m_xLabel->get_label(); }