mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 06:09:00 +08:00
Code style and fixes to comments
Contributes to issue CURA-5785.
This commit is contained in:
parent
514fc13045
commit
e087db7c2e
@ -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…
x
Reference in New Issue
Block a user