diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-04-05 15:44:50 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2017-04-12 17:16:58 +0200 |
commit | 1675f70c573e8ee5e837be92c68531153521222f (patch) | |
tree | d695d0ffe404b13bbadf36837837ac8896cae2ad /cui | |
parent | 9379ed5cf45dd091231661fa97cbe0f697b5633f (diff) |
prev/next buttons start invisible in the .ui
Change-Id: Iec577adb469109a11188e83d95de6ed3960bc1c4
(cherry picked from commit 4a84cbaa3786e6ef9fa91c7eb3a6a49a9010456b)
Reviewed-on: https://gerrit.libreoffice.org/36157
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
(cherry picked from commit 2e716c24a628b2da2de365eb338ccc5b72960f9e)
Diffstat (limited to 'cui')
-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; |