mirror of https://gitlab.com/basile.b/dexed.git
style, early return
This commit is contained in:
parent
46527beb88
commit
d3b689f2b6
|
@ -2103,12 +2103,11 @@ var
|
|||
url: string;
|
||||
begin
|
||||
url := checkForUpdate;
|
||||
if url <> '' then
|
||||
begin
|
||||
if dlgYesNo('An new release is available, do you wish to visit the release page ?' +
|
||||
lineEnding + '(' + url +')') = mrYes then
|
||||
OpenURL(url);
|
||||
end;
|
||||
if url.isEmpty then
|
||||
exit;
|
||||
if dlgYesNo('An new release is available, do you wish to visit the release page ?' +
|
||||
lineEnding + '(' + url +')') = mrYes then
|
||||
OpenURL(url);
|
||||
end;
|
||||
|
||||
procedure TMainForm.mnuItemManualClick(Sender: TObject);
|
||||
|
|
Loading…
Reference in New Issue