Merge branch 'CURA-5785-Restyle_stage_menu' of github.com:Ultimaker/Cura into CURA-5785-Restyle_stage_menu

This commit is contained in:
Jaime van Kessel 2018-11-16 14:58:47 +01:00
commit 320efa443e
3 changed files with 5 additions and 5 deletions

View file

@ -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)
}