From 794478c1f0b960af9256c480ec28abd9429f72c2 Mon Sep 17 00:00:00 2001 From: zautrix Date: Wed, 06 Jul 2005 12:36:37 +0000 Subject: fixx --- (limited to 'kaddressbook') diff --git a/kaddressbook/jumpbuttonbar.cpp b/kaddressbook/jumpbuttonbar.cpp index 7524fb7..aebf8a6 100644 --- a/kaddressbook/jumpbuttonbar.cpp +++ b/kaddressbook/jumpbuttonbar.cpp @@ -129,9 +129,10 @@ void JumpButtonBar::recreateButtons() for ( it = ab->begin(); it != ab->end(); ++it ) { if ( !field->value( *it ).isEmpty() ) character = field->value( *it )[ 0 ].lower(); - if ( character != "!" ) - if ( !character.isEmpty() && !mCharacters.contains( character ) ) + if ( character != "!" ) { + if ( !character.isEmpty() && !mCharacters.contains( character ) && character.at( 0 ).isLetter ()) mCharacters.append( character ); + } } if ( mCharacters.count() == 0 ) { setEnabled( false ); -- cgit v0.9.0.2