mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 22:35:03 -06:00
Code style and fixes to comments
Contributes to issue CURA-5785.
This commit is contained in:
parent
514fc13045
commit
e087db7c2e
1 changed files with 2 additions and 2 deletions
|
@ -54,13 +54,13 @@ Item
|
|||
{
|
||||
for (var i = 0; i < viewModel.rowCount(); i++)
|
||||
{
|
||||
if(viewModel.getItem(i).active)
|
||||
if (viewModel.getItem(i).active)
|
||||
{
|
||||
return viewModel.getItem(i)
|
||||
}
|
||||
}
|
||||
// Nothing was active, so just return the first one (the list is sorted by priority, so the most
|
||||
// important one sshould be returned)
|
||||
// important one should be returned)
|
||||
return viewModel.getItem(0)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue