--===============0272786082== Content-Type: multipart/signed; boundary="nextPart3001744.odOeqB3FLk"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart3001744.odOeqB3FLk Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 18. August 2008 13:00:50 Jan Hambrecht wrote: > if( selection->count() ) > =A0 =A0 =A0selection->firstSelectedShape()->doSomething(); Right, I never accounted for the usecase where there was a group object in the=20 selection, but the group object didn't actually have any children. I'm preparing a patch to make count() return what you expect. Thanks for your quick reply! =2D-=20 Thomas Zander --nextPart3001744.odOeqB3FLk Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkipY0wACgkQCojCW6H2z/SmmgCfXgHPFAPIh0WxyTf8YDN6kc+3 sNsAoN94lwHFZhRr6DVRwjr/Vmp39HVX =Ww7q -----END PGP SIGNATURE----- --nextPart3001744.odOeqB3FLk-- --===============0272786082== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ koffice-devel mailing list koffice-devel@kde.org https://mail.kde.org/mailman/listinfo/koffice-devel --===============0272786082==--