mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-21 16:55:01 -05:00
Simba: Updater only shows when required.
If there's no update, it won't show.
This commit is contained in:
parent
ff7228ba70
commit
1374e2be21
@ -883,7 +883,10 @@ end;
|
||||
|
||||
procedure TSimbaForm.UpdateMenuButtonClick(Sender: TObject);
|
||||
begin
|
||||
SimbaUpdateForm.ShowModal;
|
||||
if SimbaUpdateForm.CanUpdate then
|
||||
SimbaUpdateForm.ShowModal
|
||||
else
|
||||
ShowMessage('No Updates Available!');
|
||||
end;
|
||||
|
||||
procedure ClearDebug;
|
||||
|
@ -162,7 +162,7 @@ begin
|
||||
Self.DownloadSpeed.Visible := false;
|
||||
if not CanUpdate then
|
||||
begin
|
||||
ShowMessage('No Updates Available!');
|
||||
//ShowMessage('No Updates Available!');
|
||||
Self.UpdateLog.Lines.Add('No Updates Available!');
|
||||
Self.UpdateButton.Enabled := False;
|
||||
end else
|
||||
|
Loading…
Reference in New Issue
Block a user