Cura/resources/qml/Menus
Ghostkeeper 485e37e7f5
Extruders can be undefined, not null
This happens when the printer is changed, such as when changing the Machine Width in the machine settings dialogue. It updates these menus then and if not all extruders are defined it'll give the following errors:
2020-03-20 16:56:57,839 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///home/trin/Gedeeld/Projects/Cura/resources/qml/Menus/SettingsMenu.qml:51: TypeError: Cannot read property 'isEnabled' of undefined
2020-03-20 16:56:57,840 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///home/trin/Gedeeld/Projects/Cura/resources/qml/Menus/SettingsMenu.qml:44: TypeError: Cannot read property 'isEnabled' of undefined
2020-03-20 16:56:57,841 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///home/trin/Gedeeld/Projects/Cura/resources/qml/Menus/MaterialMenu.qml:26: TypeError: Cannot read property 'isEnabled' of undefined
2020-03-20 16:56:57,841 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///home/trin/Gedeeld/Projects/Cura/resources/qml/Menus/MaterialMenu.qml:28: TypeError: Cannot read property 'material' of undefined

Done during Turbo Testing and Tooling.
2020-03-20 17:03:08 +01:00
..
ConfigurationMenu Fix QML null warnings 2020-02-13 12:26:49 +01:00
ContextMenu.qml Reduce the creations of ExtrudersModels 2018-12-13 14:12:23 +01:00
FileMenu.qml Add save shortcut to save 2019-08-07 10:46:51 +02:00
LocalPrinterMenu.qml Remove usage of some deprecated functions 2019-05-16 14:49:53 +02:00
MaterialMenu.qml Extruders can be undefined, not null 2020-03-20 17:03:08 +01:00
NetworkPrinterMenu.qml Rename 'connect_group_name' to 'group_name'. [CURA-6153] 2019-01-31 20:21:42 +01:00
NozzleMenu.qml Fix QML warnings 2020-01-07 11:37:37 +01:00
PrinterMenu.qml CURA-4870 Modify printer menu visibility of the items. Show local or network submenu only when there is local or network printers respectively 2018-03-04 12:53:16 +01:00
PrinterTypeMenu.qml Remove usage of deprecated functions 2019-05-03 13:52:45 +02:00
RecentFilesMenu.qml Fix recent files python function calls 2019-10-07 10:44:30 +02:00
SettingsMenu.qml Extruders can be undefined, not null 2020-03-20 17:03:08 +01:00
SettingVisibilityPresetsMenu.qml Merge remote-tracking branch 'origin/master' into CURA-6959_collapse_categories 2020-01-02 15:32:26 +01:00
ViewMenu.qml Rename Orthogonal to Orthographic everywhere 2019-07-30 17:35:40 +02:00