From 432870536e6c8ffd32880d4d66b79d44eb362fa0 Mon Sep 17 00:00:00 2001 From: Dark Byte Date: Fri, 8 Jan 2016 11:04:41 +0100 Subject: [PATCH] cancelling the fileselection from a pointermap generation launched from the main gui will close as well --- Cheat Engine/pointerscannerfrm.pas | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Cheat Engine/pointerscannerfrm.pas b/Cheat Engine/pointerscannerfrm.pas index 66f09a0e12..620f3a190a 100644 --- a/Cheat Engine/pointerscannerfrm.pas +++ b/Cheat Engine/pointerscannerfrm.pas @@ -938,7 +938,11 @@ procedure Tfrmpointerscanner.Method3Fastspeedandaveragememoryusage1Click( if frmpointerscannersettings.rbGeneratePointermap.checked then //show a .scandata dialog instad of a .ptr begin - if not savedialog2.execute then exit; + if not savedialog2.execute then + begin + if SkipNextScanSettings then close; + exit; + end; filename:=savedialog2.filename; end else