mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Disable material if not compatible
Similar to how it's displayed in the printer. Contributes to issue CURA-5460.
This commit is contained in:
parent
16226bdd48
commit
c0fc0a7eba
5 changed files with 12 additions and 7 deletions
|
|
@ -1,5 +1,5 @@
|
|||
// Copyright (c) 2017 Ultimaker B.V.
|
||||
// Cura is released under the terms of the LGPLv3 or higher.
|
||||
//Copyright (c) 2018 Ultimaker B.V.
|
||||
//Cura is released under the terms of the LGPLv3 or higher.
|
||||
|
||||
import QtQuick 2.7
|
||||
import QtQuick.Controls 1.1
|
||||
|
|
@ -402,7 +402,7 @@ Column
|
|||
property var valueError: !isMaterialSupported()
|
||||
property var valueWarning: ! Cura.MachineManager.isActiveQualitySupported
|
||||
|
||||
function isMaterialSupported ()
|
||||
function isMaterialSupported()
|
||||
{
|
||||
if (!hasActiveExtruder)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue