summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-02-25 12:30:38 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-02-25 20:50:25 +0100
commit72a5c8a6f5d5515aed47ff803bc277353aa54061 (patch)
tree0288d93b0805b406667bd9652c5fb6f93fe20392 /dbaccess
parentd5aeb48c7035c5518c4978760e93a49351a9e57a (diff)
Resolves: tdf130874 reversed logic
Change-Id: I2ccac01f271ec803547ab36359f2273312df87e8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89451 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/dlg/dlgsize.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/dlg/dlgsize.cxx b/dbaccess/source/ui/dlg/dlgsize.cxx
index 2c10d235cdcc..45c624518f1a 100644
--- a/dbaccess/source/ui/dlg/dlgsize.cxx
+++ b/dbaccess/source/ui/dlg/dlgsize.cxx
@@ -66,8 +66,8 @@ sal_Int32 DlgSize::GetValue() const
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));