[Libreoffice-commits] core.git: sw/source

Muhammet Kara muhammet.kara at pardus.org.tr
Tue Dec 6 06:34:38 UTC 2016


 sw/source/ui/frmdlg/frmpage.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit dd89c68edf7f022e1c96d0cc9e7e13cde042dd4b
Author: Muhammet Kara <muhammet.kara at pardus.org.tr>
Date:   Mon Dec 5 11:54:02 2016 +0300

    Do not enable radio buttons of image flip on create
    
    On the Image tab of the Image Properties dialog,
    The radio buttons under the horizontal flip option
    should come disabled when that option is not checked.
    
    Wrong order of "Enable" calls was causing them to be
    enabled on create, all the time.
    
    Change-Id: Ie361a8280e2a303d38025c5c684f5c07ba2e1ef9
    Reviewed-on: https://gerrit.libreoffice.org/31619
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Muhammet Kara <muhammet.kara at pardus.org.tr>

diff --git a/sw/source/ui/frmdlg/frmpage.cxx b/sw/source/ui/frmdlg/frmpage.cxx
index 9f40d88..c4ae80a 100644
--- a/sw/source/ui/frmdlg/frmpage.cxx
+++ b/sw/source/ui/frmdlg/frmpage.cxx
@@ -2506,10 +2506,10 @@ void SwGrfExtPage::ActivatePage(const SfxItemSet& rSet)
             m_pBmpWin->SetGraphic( *pGrf );
     }
 
+    m_pMirror->Enable(bEnable);
     m_pAllPagesRB->Enable(bEnableMirrorRB);
     m_pLeftPagesRB->Enable(bEnableMirrorRB);
     m_pRightPagesRB->Enable(bEnableMirrorRB);
-    m_pMirror->Enable(bEnable);
 
     m_pAllPagesRB->SaveValue();
     m_pLeftPagesRB->SaveValue();


More information about the Libreoffice-commits mailing list