The OpenPGP keyserver can be configured in gpg.conf (legacy) and dirmngr.conf (modern; since gpg 2.1.9). gpg/dirmngr prefers the legacy setting.
Kleopatra
- reads the legacy setting if the modern setting is not set
- writes the modern setting if it is available
This means, that, if the legacy setting is set, then it's not possible to change the setting via Kleopatra, because Kleopatra writes the modern setting which is ignored by gpg/dirmngr because gpg/dirmngr prefer the legacy setting.
With GnuPG 2.3 the problem is worse, because the legacy setting is no longer available via gpgconf, but it's still used by gpg/dirmngr.