mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 13:03:59 -06:00
Merge branch 'ui_rework_4_0' into CURA-5876-Configuration_dropdown
Conflicts: resources/qml/ActionPanel/OutputProcessWidget.qml -> Due to removed theme entry.
This commit is contained in:
commit
b5bb3232f3
13 changed files with 49 additions and 86 deletions
|
@ -115,15 +115,16 @@ UM.PreferencesPage
|
|||
|
||||
currentIndex:
|
||||
{
|
||||
var idx = -1;
|
||||
for(var i = 0; i < settingVisibilityPresetsModel.items.length; ++i)
|
||||
{
|
||||
if(settingVisibilityPresetsModel.items[i].presetId == settingVisibilityPresetsModel.activePreset)
|
||||
{
|
||||
currentIndex = i;
|
||||
return;
|
||||
idx = i;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return -1
|
||||
return idx;
|
||||
}
|
||||
|
||||
onActivated:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue