[Libreoffice-commits] .: sc/source
Katarina Machalkova
bubli at kemper.freedesktop.org
Fri Jun 17 04:57:28 PDT 2011
sc/source/ui/attrdlg/condfrmt.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 83ed3bcec4770ec83c69a98ae9f0d3a9e39bda5d
Author: Katarina Machalkova <kmachalkova at suse.cz>
Date: Fri Jun 17 13:56:46 2011 +0200
Let's make 'Add' button clickable at any time ...
... not only when last condition in the list is checked
diff --git a/sc/source/ui/attrdlg/condfrmt.cxx b/sc/source/ui/attrdlg/condfrmt.cxx
index 5c84790..ec3880b 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();
More information about the Libreoffice-commits
mailing list