mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-07 11:53:29 +08: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
@ -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…
x
Reference in New Issue
Block a user