I'm obviously not a doctor, so my first advice would be to speak to an AME and ask their expert opinion.
I doubt it would stop you, might just mean you have to do some extra tests, I mean if it's fine now and stable surely it would be okay. (But again I'm not a doctor!) My advice would be to speak to an AME, then all being well at your initial class 1 bring along all your paperwork/reports as the AME will probably want to read this.
I had to get extra cardiac tests when I did my class 1 initial EASA. Even if they want an heart ultrasound or something you can go get it and send them the paperwork.
Assuming you are going to study in Europe or UK you should find an AME and phone/email them.
I wish you the best of luck