summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-07-10 12:05:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-07-10 15:00:11 +0200
commitb66b80485d855767a78e688e9e989ca0b104e0d8 (patch)
tree413bfa1733d43054c3b42303eff664186e4d6f8f
parent062ef78e86534c19c66e968a137b653b02e707d3 (diff)
tdf#134601 set entry font as combobox control font to take effect
Change-Id: I8cac0ebcd99fbfcd800074cc0d9acd924659753a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98458 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--vcl/source/app/salvtables.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx
index 930590fb7dc7..ccfe3ac7d542 100644
--- a/vcl/source/app/salvtables.cxx
+++ b/vcl/source/app/salvtables.cxx
@@ -5897,6 +5897,7 @@ void SalInstanceComboBoxWithEdit::set_entry_font(const vcl::Font& rFont)
Edit* pEdit = m_xComboBox->GetSubEdit();
assert(pEdit);
pEdit->SetPointFont(*pEdit, rFont);
+ m_xComboBox->SetControlFont(rFont); // tdf#134601 set it as control font to take effect properly
pEdit->Invalidate();
}