svx/source/tbxctrls/tbunocontroller.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit a5b1b65a1611fd1ad8e166cbddf6d2d9702b98d0 Author: Jim Raykowski <rayk...@gmail.com> AuthorDate: Sat Mar 14 18:01:11 2020 -0800 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon Mar 23 15:36:14 2020 +0100 tdf#131344 Make SvxFontSizeBox_Impl Enable and Disable work ...with change to InterimItemWindow way of using FontSizeBox as member variable widget Change-Id: I0ad0c3191800ce80a88e58467950a80b5791a2da Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90510 Tested-by: Jenkins Tested-by: Caolán McNamara <caol...@redhat.com> Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/svx/source/tbxctrls/tbunocontroller.cxx b/svx/source/tbxctrls/tbunocontroller.cxx index 6cf14a541f1c..33cf5c4ed6c8 100644 --- a/svx/source/tbxctrls/tbunocontroller.cxx +++ b/svx/source/tbxctrls/tbunocontroller.cxx @@ -101,6 +101,9 @@ public: virtual void DataChanged( const DataChangedEvent& rDCEvt ) override; virtual void GetFocus() override; + void Enable() {m_xWidget->set_sensitive(true); InterimItemWindow::Enable();} + void Disable() {m_xWidget->set_sensitive(false); InterimItemWindow::Disable();} + private: FontHeightToolBoxControl& m_rCtrl; OUString m_aCurText; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits