Fix XML material upgrade

CURA-3756
This commit is contained in:
Lipu Fei 2017-05-19 10:13:12 +02:00
parent bccd4187a3
commit 593697e0ed
4 changed files with 110 additions and 6 deletions

View file

@ -488,7 +488,7 @@ class CuraApplication(QtApplication):
self._plugin_registry.loadPlugins()
if self.getBackend() == None:
if self.getBackend() is None:
raise RuntimeError("Could not load the backend plugin!")
self._plugins_loaded = True