cui/source/options/optgdlg.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit ed57f47cdf1cb815df898c6ae63aa6db6d992fd3 Author: Caolán McNamara <caol...@redhat.com> Date: Mon Oct 23 11:20:25 2017 +0100 Resolves: tdf#113355 need to explicitly call initial TwoFigureHdl Change-Id: Ia328f9adf95eef6711d286c9bde5b9a6edbd9978 diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index fb2ea14f4a16..e34c7e7a35c6 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -383,7 +383,10 @@ void OfaMiscTabPage::Reset( const SfxItemSet* rSet ) const SfxPoolItem* pItem = nullptr; if ( SfxItemState::SET == rSet->GetItemState( SID_ATTR_YEAR2000, false, &pItem ) ) + { m_pYearValueField->SetValue( static_cast<const SfxUInt16Item*>(pItem)->GetValue() ); + TwoFigureHdl(*m_pYearValueField); + } else m_pYearFrame->Enable(false);
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits