diff options
-rw-r--r-- | sc/source/ui/condformat/colorformat.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/condformat/colorformat.cxx b/sc/source/ui/condformat/colorformat.cxx index 37bae8c62d19..cfae7b79c872 100644 --- a/sc/source/ui/condformat/colorformat.cxx +++ b/sc/source/ui/condformat/colorformat.cxx @@ -335,7 +335,7 @@ IMPL_LINK_NOARG( ScDataBarSettingsDlg, TypeSelectHdl ) IMPL_LINK_NOARG( ScDataBarSettingsDlg, PosSelectHdl ) { sal_Int32 axisPos = mpLbAxisPos->GetSelectEntryPos(); - if(axisPos != 2) // disable if axis vertical position is anything other than none + if(axisPos != 2 && axisPos != 1) // disable if axis vertical position is automatic { mpLenMin->Disable(); mpLenMax->Disable(); |