mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Also added canPreheatBed option
This commit is contained in:
parent
182c2f9fb6
commit
dd7ea80b68
2 changed files with 8 additions and 1 deletions
|
|
@ -388,7 +388,7 @@ Column
|
|||
anchors.bottomMargin: UM.Theme.getSize("default_margin").height
|
||||
width: UM.Theme.getSize("setting_control").width
|
||||
height: UM.Theme.getSize("setting_control").height
|
||||
|
||||
visible: connectedPrinter != null ? connectedPrinter.canPreHeatBed: true
|
||||
Rectangle //Highlight of input field.
|
||||
{
|
||||
anchors.fill: parent
|
||||
|
|
@ -511,6 +511,7 @@ Column
|
|||
{
|
||||
id: preheatButton
|
||||
height: UM.Theme.getSize("setting_control").height
|
||||
visible: connectedPrinter != null ? connectedPrinter.canPreHeatBed: true
|
||||
enabled:
|
||||
{
|
||||
if (!preheatTemperatureControl.enabled)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue