cui/source/dialogs/postdlg.cxx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
New commits: commit 2e716c24a628b2da2de365eb338ccc5b72960f9e Author: Caolán McNamara <[email protected]> Date: Wed Apr 5 15:44:50 2017 +0100 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 <[email protected]> Reviewed-by: Miklos Vajna <[email protected]> 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;
_______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
