Writer View options: Right-aligned should be disabled,
if Vertical ruler is unchecked.
Regression since
commit 745c7bce5f
Author: Mihály Palenik <palenik.mihaly@gmail.com>
Date: Thu Aug 6 15:16:41 2015 +0200
Delete unnecessary writer options from Options dialog
Change-Id: I17096e87f83dfd831599d316495c58ac08927895
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173407
Tested-by: Jenkins
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
This commit is contained in:
@@ -247,7 +247,7 @@ void SwContentOptPage::Reset(const SfxItemSet* rSet)
|
||||
|
||||
bReadOnly = officecfg::Office::Writer::Layout::Window::IsVerticalRulerRight::isReadOnly();
|
||||
m_xVRulerRightCBox->set_active(pElemAttr->m_bVertRulerRight);
|
||||
m_xVRulerRightCBox->set_sensitive(!bReadOnly);
|
||||
m_xVRulerRightCBox->set_sensitive(pElemAttr->m_bVertRuler && !bReadOnly);
|
||||
m_xVRulerRightImg->set_visible(bReadOnly);
|
||||
|
||||
bReadOnly = !bWebOptionsPage ? officecfg::Office::Writer::Layout::Window::SmoothScroll::isReadOnly() :
|
||||
|
||||
Reference in New Issue
Block a user