mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 18:49:02 +08:00
Don't request updates if update checking is disabled
I remember remarking this at one point but then it was said that we'd only need to implement the 'Minimum Viable Product' for the Toolbox. Well this is what happens then...
This commit is contained in:
parent
c7c6389897
commit
e13108f267
@ -191,8 +191,9 @@ class Toolbox(QObject, Extension):
|
|||||||
"packages": QUrl("{base_url}/packages".format(base_url = self._api_url))
|
"packages": QUrl("{base_url}/packages".format(base_url = self._api_url))
|
||||||
}
|
}
|
||||||
|
|
||||||
# Request the latest and greatest!
|
if CuraApplication.getInstance().getPreferences().getValue("info/automatic_update_check"):
|
||||||
self._fetchPackageData()
|
# Request the latest and greatest!
|
||||||
|
self._fetchPackageData()
|
||||||
|
|
||||||
def _fetchPackageData(self):
|
def _fetchPackageData(self):
|
||||||
# Create the network manager:
|
# Create the network manager:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user