Permalink
Browse files

Issue #8: Convert Coolbar with menu and buttons back to a normal TMai…

…nMenu + TToolBar. Fixes empty first level menu items. Removes update and donate buttons from the top right corner. We don't need them.
  • Loading branch information...
ansgarbecker committed Oct 28, 2018
1 parent df9fd1a commit 46777554977737f752b47943bc121b12da198e58
Showing with 217 additions and 392 deletions.
  1. +1 −2 source/about.pas
  2. +216 −346 source/main.dfm
  3. +0 −44 source/main.pas
@@ -91,7 +91,6 @@ procedure TAboutBox.btnDonatedOKClick(Sender: TObject);
MessageDialog(_('Thanks for donating!'), mtInformation, [mbOK]);
end;
imgDonate.Visible := Check <> nbTrue;
MainForm.btnDonate.Visible := imgDonate.Visible;
end;
@@ -135,7 +134,7 @@ procedure TAboutBox.FormShow(Sender: TObject);
Screen.Cursor := crHourGlass;
imgDonate.Visible := MainForm.HasDonated(False) <> nbTrue;
imgDonate.OnClick := MainForm.btnDonate.OnClick;
imgDonate.OnClick := MainForm.DonateClick;
editDonated.Text := AppSettings.ReadString(asDonatedEmail);
// Assign text
Oops, something went wrong.

0 comments on commit 4677755

Please sign in to comment.