mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
CURA-4935 Can't disable sending anonymous slice data and checking updates
This is the ~5 minute~ 3 second fix. I know it's not the more proper way to do it, but I've spent several hours on the more proper way to do it and it's causing huge amounts of headache (because, for example, the PluginBrowser installs plugins and the PluginRegistry removes them, and the PluginBrowser can't update the PluginsModel because the PluginsModel is intantiated in QML instead of in `PluginBrowser.py`, etc. etc. etc. I'm effectively doing a full refactor of this functionality while simultaneously avoiding moving any "install from remote URL" functionality into the PluginRegistry which is dumb. I'd prefer a simple, stable soution now instead of re-writing this all again. I'll make a proposal for a proper, organized refactor for Cookies & Cura.
This commit is contained in:
parent
6eeaab3c12
commit
c0561bc525
1 changed files with 1 additions and 1 deletions
|
@ -287,7 +287,7 @@ class PluginBrowser(QObject, Extension):
|
||||||
|
|
||||||
@pyqtProperty(QObject, notify=pluginsMetadataChanged)
|
@pyqtProperty(QObject, notify=pluginsMetadataChanged)
|
||||||
def pluginsModel(self):
|
def pluginsModel(self):
|
||||||
self._plugins_model = PluginsModel(self._view)
|
self._plugins_model = PluginsModel(None, self._view)
|
||||||
# self._plugins_model.update()
|
# self._plugins_model.update()
|
||||||
|
|
||||||
# Check each plugin the registry for matching plugin from server
|
# Check each plugin the registry for matching plugin from server
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue