change ERC severity to "ignore": crash
# Description
Following the steps below gives a crash in eeschema.
The project is from issue #17347.
# Steps to reproduce
1. open attached project, open schematic: [testgroundflag.zip](/uploads/1ddb11785449cb4ef415409638fe263c/testgroundflag.zip)
2. on root sheet: run ERC. get 1x error / 13xwarning. Close ERC-dialog (see picture 1)
3. switch to page2
4. click on warning error ,arker near GND symbol (see picture 2)
5. ERC dialog is reopened, corresponding error/warning is selected (see picture 3)
6. RMB-click on this warning --> context menu --> "Ignore all librarysymbol issue violations"
7. crash

# KiCad Version
```
Application: KiCad Schematic Editor x64 on x64
Version: 8.0.1-rc2, release build
Libraries:
wxWidgets 3.2.4
FreeType 2.12.1
HarfBuzz 8.3.0
FontConfig 2.14.2
Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW
wxWidgets: 3.2.4 (wchar_t,wx containers)
Boost: 1.83.0
OCC: 7.7.1
Curl: 8.5.0-DEV
ngspice: 42
Compiler: Visual C++ 1936 without C++ ABI
Build settings:
```
issue