diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-02-25 12:30:38 +0000 |
---|---|---|
committer | Xisco Faulí <xiscofauli@libreoffice.org> | 2020-02-26 11:20:39 +0100 |
commit | c38e37606d71cfbefa9d9c9eb92b7a8b28f6ebea (patch) | |
tree | f1c3d8b5ee6cc2ab8ae54437c09f9a968dad05ff /dbaccess | |
parent | da4f9ff1cfeeeb4f04bb943e94db86887b5c9f58 (diff) |
Resolves: tdf130874 reversed logic
Change-Id: I2ccac01f271ec803547ab36359f2273312df87e8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89437
Tested-by: Jenkins
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/dlg/dlgsize.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/dlg/dlgsize.cxx b/dbaccess/source/ui/dlg/dlgsize.cxx index aca0710c5fc7..79504e3dc4ed 100644 --- a/dbaccess/source/ui/dlg/dlgsize.cxx +++ b/dbaccess/source/ui/dlg/dlgsize.cxx @@ -66,8 +66,8 @@ sal_Int32 DlgSize::GetValue() IMPL_LINK_NOARG(DlgSize, CbClickHdl, weld::ToggleButton&, void) { - m_xMF_VALUE->set_sensitive(m_xCB_STANDARD->get_active()); - if (!m_xCB_STANDARD->get_active()) + m_xMF_VALUE->set_sensitive(!m_xCB_STANDARD->get_active()); + if (m_xCB_STANDARD->get_active()) { // don't use getValue as this will use m_xCB_STANDARD->to determine if we're standard m_nPrevValue = static_cast<sal_Int32>(m_xMF_VALUE->get_value(FieldUnit::CM)); |