From 9c0049cfae49c8e4ddef9125a69db2ad134c10c6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 7 Jun 2024 13:48:25 +0200 Subject: Merging upstream version 4:24.2.4. Signed-off-by: Daniel Baumann --- svtools/source/brwbox/ebbcontrols.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'svtools/source') diff --git a/svtools/source/brwbox/ebbcontrols.cxx b/svtools/source/brwbox/ebbcontrols.cxx index 45b1a3766e..761fd32b3f 100644 --- a/svtools/source/brwbox/ebbcontrols.cxx +++ b/svtools/source/brwbox/ebbcontrols.cxx @@ -586,6 +586,12 @@ namespace svt m_xCalendar->set_date(rDate); } + void DateControl::SetEditableReadOnly(bool bReadOnly) + { + FormattedControlBase::SetEditableReadOnly(bReadOnly); + m_xMenuButton->set_sensitive(!bReadOnly); + } + void DateControl::dispose() { m_xTodayBtn.reset(); -- cgit v1.2.3