Fix error when right clicking in line edit fields due to incorrect porting of signal connection