mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -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)
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ import Cura 1.0 as Cura
|
|||
|
||||
// Reusable component that holds an (re-colorable) icon on the left with some text on the right.
|
||||
// This component is also designed to be used with layouts. It will use the width of the text + icon as preferred width
|
||||
// It sets the icon size + half of the content as it's minium width (in which case it will elide the text)
|
||||
// It sets the icon size + half of the content as its minium width (in which case it will elide the text)
|
||||
Item
|
||||
{
|
||||
property alias iconColor: icon.color
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue