@@ -359,34 +359,12 @@ private void createKontakt() {
359359 qbe .add ("Bezeichnung2" , "=" , ret [1 ]); //$NON-NLS-1$ //$NON-NLS-2$
360360 List <Kontakt > list = qbe .execute ();
361361 if ((list != null ) && (!list .isEmpty ())) {
362- Kontakt k = list .get (0 );
363- if (bOrganisation .getSelection () && k .istOrganisation ()) {
364- if (bLabor .getSelection ()) {
365- k .set ("istOrganisation" , "1" ); //$NON-NLS-1$ //$NON-NLS-2$
366- }
367- if (MessageDialog .openConfirm (getShell (),
368- Messages .KontaktErfassenDialog_organisationExistiert_title , // $NON-NLS-1$
369- Messages .KontaktErfassenDialog_organisationExistiert_msg ) == false ) { // $NON-NLS-1$
370- super .okPressed ();
371- return ;
372- }
373- }
374- if (k .istPerson ()) {
375- if (bAnwender .getSelection ()) {
376- k .set ("istAnwender" , "1" ); //$NON-NLS-1$ //$NON-NLS-2$
377- }
378- if (bMandant .getSelection ()) {
379- k .set ("istMandant" , "1" ); //$NON-NLS-1$ //$NON-NLS-2$
380- }
381- if (bPatient .getSelection ()) {
382- k .set ("istPatient" , "1" ); //$NON-NLS-1$ //$NON-NLS-2$
383- }
384- if (MessageDialog .openConfirm (getShell (), Messages .KontaktErfassenDialog_personExisitiert_title , // $NON-NLS-1$
362+ if (MessageDialog .openConfirm (getShell (),
363+ Messages .KontaktErfassenDialog_personExisitiert_title , // $NON-NLS-1$
385364 Messages .KontaktErfassenDialog_personExisitiert_msg ) == false ) { // $NON-NLS-1$
386365 super .okPressed ();
387366 return ;
388367 }
389- }
390368 }
391369
392370 /**
0 commit comments