mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Fix back door introduced in r4523
This commit is contained in:
@ -58,8 +58,8 @@ msgid "Not a valid donators email address"
|
|||||||
msgstr "Not a valid donators email address"
|
msgstr "Not a valid donators email address"
|
||||||
|
|
||||||
#. About dialog
|
#. About dialog
|
||||||
msgid "Could not check donation state, gracefully assuming you have donated."
|
msgid "Could not check donation state."
|
||||||
msgstr "Could not check donation state, gracefully assuming you have donated."
|
msgstr "Could not check donation state."
|
||||||
|
|
||||||
#. frmBinEditor..Caption
|
#. frmBinEditor..Caption
|
||||||
#: bineditor.dfm:4
|
#: bineditor.dfm:4
|
||||||
|
@ -71,13 +71,13 @@ begin
|
|||||||
Check := MainForm.HasDonated(True);
|
Check := MainForm.HasDonated(True);
|
||||||
case Check of
|
case Check of
|
||||||
nbUnset:
|
nbUnset:
|
||||||
MessageDialog(_('Could not check donation state, gracefully assuming you have donated.'), mtWarning, [mbOK]);
|
MessageDialog(_('Could not check donation state.'), mtWarning, [mbOK]);
|
||||||
nbFalse:
|
nbFalse:
|
||||||
ErrorDialog(_('Not a valid donators email address'));
|
ErrorDialog(_('Not a valid donators email address'));
|
||||||
nbTrue:
|
nbTrue:
|
||||||
MessageDialog(_('Thanks for donating!'), mtInformation, [mbOK]);
|
MessageDialog(_('Thanks for donating!'), mtInformation, [mbOK]);
|
||||||
end;
|
end;
|
||||||
imgDonate.Visible := Check = nbFalse;
|
imgDonate.Visible := Check <> nbTrue;
|
||||||
MainForm.imgDonate.Width := 122;
|
MainForm.imgDonate.Width := 122;
|
||||||
MainForm.imgDonate.Visible := imgDonate.Visible;
|
MainForm.imgDonate.Visible := imgDonate.Visible;
|
||||||
end;
|
end;
|
||||||
@ -109,7 +109,7 @@ begin
|
|||||||
InheritFont(lblAppName.Font);
|
InheritFont(lblAppName.Font);
|
||||||
lblAppName.Font.Size := 14;
|
lblAppName.Font.Size := 14;
|
||||||
InheritFont(lblAppWebpage.Font);
|
InheritFont(lblAppWebpage.Font);
|
||||||
imgDonate.Visible := MainForm.HasDonated(False) = nbFalse;
|
imgDonate.Visible := MainForm.HasDonated(False) <> nbTrue;
|
||||||
imgDonate.OnClick := MainForm.imgDonate.OnClick;
|
imgDonate.OnClick := MainForm.imgDonate.OnClick;
|
||||||
editDonated.Text := AppSettings.ReadString(asDonatedEmail);
|
editDonated.Text := AppSettings.ReadString(asDonatedEmail);
|
||||||
|
|
||||||
|
@ -1682,7 +1682,7 @@ begin
|
|||||||
FHasDonatedDatabaseCheck := nbUnset;
|
FHasDonatedDatabaseCheck := nbUnset;
|
||||||
imgDonate.Width := 122;
|
imgDonate.Width := 122;
|
||||||
imgDonate.Height := 22;
|
imgDonate.Height := 22;
|
||||||
imgDonate.Visible := HasDonated(True) = nbFalse;
|
imgDonate.Visible := HasDonated(True) <> nbTrue;
|
||||||
|
|
||||||
FileEncodings := Explode(',', _('Auto detect (may fail)')+',ANSI,ASCII,Unicode,Unicode Big Endian,UTF-8,UTF-7');
|
FileEncodings := Explode(',', _('Auto detect (may fail)')+',ANSI,ASCII,Unicode,Unicode Big Endian,UTF-8,UTF-7');
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ begin
|
|||||||
InheritFont(Font);
|
InheritFont(Font);
|
||||||
TranslateComponent(Self);
|
TranslateComponent(Self);
|
||||||
imgDonate.OnClick := MainForm.imgDonate.OnClick;
|
imgDonate.OnClick := MainForm.imgDonate.OnClick;
|
||||||
imgDonate.Visible := MainForm.HasDonated(False) = nbFalse;
|
imgDonate.Visible := MainForm.HasDonated(False) <> nbTrue;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{**
|
{**
|
||||||
|
Reference in New Issue
Block a user