Ghostkeeper 566af8be2e
Don't crash when importing definition files as materials
Reproduction steps:
* In the Material Manager, click on 'Import material'.
* Change the file type in the file dialogue to 'All files'.
* Select any .def.json file, for example from Cura's own resources/definitions folder.

Previously this crashed the application. Now it shows the user an error message instead.

Fixes Sentry error CURA-D4.
2020-03-23 09:06:20 +01:00
..
2017-09-28 13:00:43 +02:00
2017-09-28 13:00:43 +02:00
2019-10-22 14:14:14 +02:00