diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-10-23 11:20:25 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-10-23 11:20:44 +0100 |
commit | ed57f47cdf1cb815df898c6ae63aa6db6d992fd3 (patch) | |
tree | 114bba19cdb2855f8a90b332b044bff3814ffed1 /cui | |
parent | fbc44fe63b47c1e2df9b4d7e1602f3358087fd62 (diff) |
Resolves: tdf#113355 need to explicitly call initial TwoFigureHdl
Change-Id: Ia328f9adf95eef6711d286c9bde5b9a6edbd9978
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/optgdlg.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
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); |