mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 13:34:01 -06:00
CuraApplication: Adding last check for unknown arguments into _onEngineCreated
So after everything is loaded, we can blame the user about wrong arguments.
This commit is contained in:
parent
315efae53b
commit
0967651a49
1 changed files with 4 additions and 0 deletions
|
@ -385,6 +385,10 @@ class CuraApplication(QtApplication):
|
|||
self._plugin_registry.addSupportedPluginExtension("curaplugin", "Cura Plugin")
|
||||
|
||||
def _onEngineCreated(self):
|
||||
# Last check for unknown commandline arguments
|
||||
parser = self.getCommandlineParser()
|
||||
parser.parse_args()
|
||||
|
||||
self._engine.addImageProvider("camera", CameraImageProvider.CameraImageProvider())
|
||||
|
||||
@pyqtProperty(bool)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue