Open

Description
bitcoin-qt throws an error and crashes if incoming connections are disabled in settings. This did not happen in v22.0 but noticed it in RC2 during testing.
Expected behavior
Disable listenonion and launch bitcoin-qt automatically.
No error and bitcoin-qt should start as it happens with v22.0
Actual behavior
To reproduce
- Download v22.0, run and disable incoming connections in settings
- Restart bitcoin-qt
- Download RC2, run and look for errors when incoming connections are disabled
System information
Confirmed the issue on Ubuntu and Windows