Closed GoogleCodeExporter closed 9 years ago
This bug is reproducible like this too:
- create appointement
- add one patient
- click anywhere in the patient view
- bug...
Original comment by eric.mae...@gmail.com
on 19 Oct 2012 at 7:52
I didnt find the bug but added a work around patch
Original comment by eric.mae...@gmail.com
on 19 Oct 2012 at 8:06
Hm, this bug is gone, but not comepletely.
I have the random users in my DB.
now when I press "s" and add the first Patient in the "s" list named "SDF Gh
HG", a second patient named "ASCENSEUS HAWAS ASPIRANTES" which is the FIRST
PATIENT IN THE LIST, gets added too.
if I select the second "s" patient, the second "a" patient gets added.
So with one click I have two patients added.
This only works with some patients; some are added alone just as intended.
What puzzles me:
in the focusInEvent you connect the signal to the slot, but never disconnect
it? So each time you enter the lineEdit, a new connection is established?
shouldn't it disconnect on focusOut?
Original comment by christian.a.reiter@gmail.com
on 19 Oct 2012 at 8:59
Original comment by christian.a.reiter@gmail.com
on 19 Oct 2012 at 8:59
Oh, yes, this was the problem. I fixed it with Qt::UniqueConnection (whow,
again something learned for myself...)
Original comment by christian.a.reiter@gmail.com
on 19 Oct 2012 at 9:14
Original issue reported on code.google.com by
christian.a.reiter@gmail.com
on 19 Oct 2012 at 10:29