mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-01 14:51:07 -07:00
Small fixes to sidebar layout after refactoring
This commit is contained in:
parent
ee643610e5
commit
9702ffb794
4 changed files with 19 additions and 11 deletions
|
|
@ -572,11 +572,7 @@ Item
|
|||
var steps = parseInt(infillSteps.properties.value)
|
||||
var infillModelItem = infillModel.get(i)
|
||||
|
||||
// TODO: somehow this print causes this method not to crash QML when the sidebar view gets unloaded (when switching states)
|
||||
// TODO: That should be fixed :P
|
||||
print("test", density, steps, infillModelItem)
|
||||
|
||||
if (infillModelItem
|
||||
if (infillModelItem != "undefined"
|
||||
&& density >= infillModelItem.percentageMin
|
||||
&& density <= infillModelItem.percentageMax
|
||||
&& steps >= infillModelItem.stepsMin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue