mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 01:37:51 -06:00
No longer select last_entry that isn't in the list
CURA-2860
This commit is contained in:
parent
1bc0fdebc9
commit
75e067cab7
2 changed files with 5 additions and 1 deletions
|
@ -227,7 +227,7 @@ Item {
|
|||
focus = true;
|
||||
|
||||
// Get the most shallow function value (eg not a number) that we can find.
|
||||
var last_entry = propertyProvider.stackLevels[propertyProvider.stackLevels.length]
|
||||
var last_entry = propertyProvider.stackLevels[propertyProvider.stackLevels.length - 1]
|
||||
for (var i = 1; i < base.stackLevels.length; i++)
|
||||
{
|
||||
var has_setting_function = typeof(propertyProvider.getPropertyValue("value", base.stackLevels[i])) == "object";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue