mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 09:39:19 +01:00
Install button not active for incompatible
This commit is contained in:
@@ -246,8 +246,9 @@ class StatusPanel extends JPanel {
|
||||
updateButton.setText("Update");
|
||||
}
|
||||
|
||||
installButton.setEnabled(!panel.getContrib().isInstalled() && contributionListing.hasDownloadedLatestList());
|
||||
|
||||
installButton.setEnabled(!panel.getContrib().isInstalled()
|
||||
&& contributionListing.hasDownloadedLatestList()
|
||||
&& panel.getContrib().isCompatible(Base.getRevision()));
|
||||
|
||||
if(installButton.isEnabled()){
|
||||
updateLabel.setText(currentVersion + " available");
|
||||
|
||||
Reference in New Issue
Block a user