summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@pardus.org.tr>2016-12-05 11:54:02 +0300
committerMuhammet Kara <muhammet.kara@pardus.org.tr>2016-12-06 07:03:56 +0000
commitf8c463b393885b660500bf4f7f73b4fb90ce2389 (patch)
tree93a2bc268ec34f22d5401b5609f9e53e0db378bd
parent33f33a8f6dd3f4dc2130a7d99697f85c8052c8a8 (diff)
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/31652 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Muhammet Kara <muhammet.kara@pardus.org.tr>
-rw-r--r--sw/source/ui/frmdlg/frmpage.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/frmdlg/frmpage.cxx b/sw/source/ui/frmdlg/frmpage.cxx
index 1312236faf24..eab95eee09fc 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();