Pcbnew 6.99: Cancelled DRC will not run fully on subsequent runs until dialog closed/reopened

Description

After cancelling a DRC run and leavng the dialogue open, subsequent runs do not run fully. Afte closing/reopening the diaplogue all is well again.

kicad_tUydT6izuB

Steps to reproduce

  1. On any board, run a DRC, cancel mid-run.
  2. With the dialogue still open, start another run.

KiCad Version

Application: KiCad PCB Editor (64-bit)

Version: (6.99.0-4134-ged4a40ee4f), release build

Libraries:
	wxWidgets 3.2.1
	FreeType 2.11.1
	HarfBuzz 4.2.0
	FontConfig 2.14.0
	libcurl/7.83.1-DEV Schannel zlib/1.2.12

Platform: Windows 11 (build 22621), 64-bit edition, 64 bit, Little endian, wxMSW

Build Info:
	Date: Oct 31 2022 06:22:25
	wxWidgets: 3.2.1 (wchar_t,wx containers)
	Boost: 1.79.0
	OCC: 7.6.0
	Curl: 7.83.1-DEV
	ngspice: 37
	Compiler: Visual C++ 1929 without C++ ABI

Build settings:
	KICAD_SPICE=ON