The electronic properties of a modified magnetic quantum dot are studied. The modified magnetic quantum dot is a quantum structure that is formed by spatially inhomogeneous distributions of magnetic fields. Electrons are magnetically confined to the plane where the magnetic fields inside and outside the dot are different from each other. The energy spectrum exhibits quite different features depending on the directions of the magnetic fields inside and outside the dot. In particular, the case of opposite directions of the fields is more interesting than that of the same direction. An electrostatic potential is introduced to the system to study the effects of an electric confining potential on the eigenenergy of a single electron in the modified magnetic quantum dot. The additional potential raises the whole energy spectrum and changes its shape. The ground-state angular momentum transitions occurring in a bare modified magnetic quantum dot disappear on introduction of the additional parabolic potential.