v0.4:
Hotfix for 'auto-check for new version' function.
This commit is contained in:
parent
933382e0ba
commit
5d31e807dc
1 changed files with 3 additions and 2 deletions
|
@ -147,9 +147,10 @@ public class NSLMainController implements Initializable {
|
||||||
updTask.setOnSucceeded(event->{
|
updTask.setOnSucceeded(event->{
|
||||||
List<String> result = updTask.getValue();
|
List<String> result = updTask.getValue();
|
||||||
if (result != null){
|
if (result != null){
|
||||||
if (!result.get(0).isEmpty())
|
if (!result.get(0).isEmpty()) {
|
||||||
SettingsTabController.setNewVersionLink(result.get(0));
|
SettingsTabController.setNewVersionLink(result.get(0));
|
||||||
ServiceWindow.getInfoNotification(resourceBundle.getString("windowTitleNewVersionAval"), resourceBundle.getString("windowTitleNewVersionAval")+": "+result.get(0) + "\n\n" + result.get(1));
|
ServiceWindow.getInfoNotification(resourceBundle.getString("windowTitleNewVersionAval"), resourceBundle.getString("windowTitleNewVersionAval") + ": " + result.get(0) + "\n\n" + result.get(1));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
ServiceWindow.getInfoNotification(resourceBundle.getString("windowTitleNewVersionUnknown"), resourceBundle.getString("windowBodyNewVersionUnknown"));
|
ServiceWindow.getInfoNotification(resourceBundle.getString("windowTitleNewVersionUnknown"), resourceBundle.getString("windowBodyNewVersionUnknown"));
|
||||||
|
|
Loading…
Reference in a new issue