Replace all old controls 1 comboboxes with UM.Combobox

This commit is contained in:
Jaime van Kessel 2021-11-10 14:57:01 +01:00
parent e0ff70dc78
commit 0bb09a4783
7 changed files with 15 additions and 68 deletions

View file

@ -6,7 +6,7 @@ import QtQuick.Controls 2.0
import QtQuick.Controls 1.1 as OldControls
import Cura 1.0 as Cura
import UM 1.3 as UM
import UM 1.5 as UM
Item
{
@ -219,12 +219,11 @@ Item
renderType: Text.NativeRendering
}
OldControls.CheckBox
UM.CheckBox
{
id: enabledCheckbox
enabled: !checked || Cura.MachineManager.numberExtrudersEnabled > 1 //Disable if it's the last enabled extruder.
height: parent.height
style: UM.Theme.styles.checkbox
Binding
{