mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 22:00:16 +08:00
Check KeepAskingSetting in MessageDialog() on older Windows versions. Broken since r4302. Fixes issue #3147.
This commit is contained in:
@ -2515,7 +2515,16 @@ begin
|
||||
m := Msg;
|
||||
if Title <> '' then
|
||||
m := Title + CRLF + CRLF + m;
|
||||
Result := MessageDlg(m, DlgType, Buttons, 0);
|
||||
|
||||
if KeepAskingSetting <> asUnused then
|
||||
KeepAskingValue := AppSettings.ReadBool(KeepAskingSetting)
|
||||
else
|
||||
KeepAskingValue := True;
|
||||
|
||||
if KeepAskingValue then
|
||||
Result := MessageDlg(m, DlgType, Buttons, 0)
|
||||
else
|
||||
Result := mrNo;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Reference in New Issue
Block a user