mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 03:01:07 +08:00
Introduce some wrapper functions for message and error dialogs in order to have less code and to avoid hidden titles on Windows XP. Fixes issue #2425.
This commit is contained in:
@ -616,9 +616,9 @@ var
|
||||
i: Integer;
|
||||
begin
|
||||
// Factory defaults
|
||||
if TaskMessageDlg('Reset all preference options to default values?',
|
||||
if MessageDialog('Reset all preference options to default values?',
|
||||
'This also applies to automatic settings, e.g. toolbar positions.',
|
||||
mtConfirmation, [mbOK, mbCancel], 0) = mrCancel then
|
||||
mtConfirmation, [mbOK, mbCancel]) = mrCancel then
|
||||
Exit;
|
||||
OpenRegistry;
|
||||
ValueList := TStringlist.Create;
|
||||
|
Reference in New Issue
Block a user