diff options
author | Katarina Machalkova <kmachalkova@suse.cz> | 2011-06-17 13:56:46 +0200 |
---|---|---|
committer | Katarina Machalkova <kmachalkova@suse.cz> | 2011-06-17 13:56:46 +0200 |
commit | 83ed3bcec4770ec83c69a98ae9f0d3a9e39bda5d (patch) | |
tree | 88e78227f714c424a48267e355578bc243ff56dc /sc/source | |
parent | 09983b2f0f90d0878cd92c14e30d97c40bfe64e1 (diff) |
Let's make 'Add' button clickable at any time ...
... not only when last condition in the list is checked
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/attrdlg/condfrmt.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/attrdlg/condfrmt.cxx b/sc/source/ui/attrdlg/condfrmt.cxx index 5c847907d..ec3880be7 100644 --- a/sc/source/ui/attrdlg/condfrmt.cxx +++ b/sc/source/ui/attrdlg/condfrmt.cxx @@ -959,8 +959,7 @@ IMPL_LINK( ScConditionalFormatDlg, BtnHdl, PushButton*, pBtn ) else if ( pBtn == &aBtnAdd ) { - if ( ppEntries[ nEntryCount - 1 ] ) - AddEntry(); + AddEntry(); aScrollBar.SetThumbPos( nEntryCount - 3 ); SliderMoved(); aEdtCond31.GrabFocus(); |