Prevent `LineEdit` focus loss when text is submitted or rejected and allow selecting without editing with arrow keys.