mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
CURA-5134 Use the built-in windowClosed method instead of quit when
finishing installing or uninstalling plugins, otherwise the temporary data is not stored in the config file. This caused some problems with the lazy uninstall plugins since the list was never stored.
This commit is contained in:
parent
92661eb35c
commit
2486303011
1 changed files with 3 additions and 3 deletions
|
@ -391,14 +391,14 @@ class PluginBrowser(QObject, Extension):
|
||||||
self._network_manager.finished.connect(self._onRequestFinished)
|
self._network_manager.finished.connect(self._onRequestFinished)
|
||||||
self._network_manager.networkAccessibleChanged.connect(self._onNetworkAccesibleChanged)
|
self._network_manager.networkAccessibleChanged.connect(self._onNetworkAccesibleChanged)
|
||||||
|
|
||||||
@pyqtProperty(bool, notify=restartRequiredChanged)
|
@pyqtProperty(bool, notify = restartRequiredChanged)
|
||||||
def restartRequired(self):
|
def restartRequired(self):
|
||||||
return self._restart_required
|
return self._restart_required
|
||||||
|
|
||||||
@pyqtProperty(str, notify=viewChanged)
|
@pyqtProperty(str, notify = viewChanged)
|
||||||
def viewing(self):
|
def viewing(self):
|
||||||
return self._view
|
return self._view
|
||||||
|
|
||||||
@pyqtSlot()
|
@pyqtSlot()
|
||||||
def restart(self):
|
def restart(self):
|
||||||
CuraApplication.getInstance().quit()
|
CuraApplication.getInstance().windowClosed()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue