mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 22:13:58 -06:00
Merge branch 'CURA-5785-Restyle_stage_menu' of github.com:Ultimaker/Cura into CURA-5785-Restyle_stage_menu
This commit is contained in:
commit
320efa443e
3 changed files with 5 additions and 5 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