diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-04-05 15:44:50 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-04-05 15:45:16 +0100 |
commit | 4a84cbaa3786e6ef9fa91c7eb3a6a49a9010456b (patch) | |
tree | 7c8bf8e0fe19d6ab4e98af1b771d953c0f751611 /cui/source/dialogs | |
parent | 26cf3430b7c22d19f4cd1bf1b5f1282abdd58b9b (diff) |
prev/next buttons start invisible in the .ui
Change-Id: Iec577adb469109a11188e83d95de6ed3960bc1c4
Diffstat (limited to 'cui/source/dialogs')
-rw-r--r-- | cui/source/dialogs/postdlg.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/cui/source/dialogs/postdlg.cxx b/cui/source/dialogs/postdlg.cxx index 612e38221c68..057198527390 100644 --- a/cui/source/dialogs/postdlg.cxx +++ b/cui/source/dialogs/postdlg.cxx @@ -64,11 +64,8 @@ SvxPostItDialog::SvxPostItDialog(vcl::Window* pParent, const SfxItemSet& rCoreSe bool bNew = true; sal_uInt16 nWhich = 0; - if ( !bPrevNext ) - { - m_pPrevBtn->Hide(); - m_pNextBtn->Hide(); - } + m_pPrevBtn->Show(bPrevNext); + m_pNextBtn->Show(bPrevNext); nWhich = rSet.GetPool()->GetWhich( SID_ATTR_POSTIT_AUTHOR ); OUString aAuthorStr, aDateStr; |