mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
CURA-4870 Don't show the configuration selector if the printer is not a
network printer (for example don't show if is USB)
This commit is contained in:
parent
c69987b824
commit
23a2b6e0f7
3 changed files with 11 additions and 6 deletions
|
@ -17,11 +17,15 @@ Button
|
|||
width: parent.width
|
||||
height: parent.height
|
||||
|
||||
function updateOnSync() {
|
||||
if (outputDevice != undefined) {
|
||||
for (var index in outputDevice.uniqueConfigurations) {
|
||||
function updateOnSync()
|
||||
{
|
||||
if (outputDevice != undefined)
|
||||
{
|
||||
for (var index in outputDevice.uniqueConfigurations)
|
||||
{
|
||||
var configuration = outputDevice.uniqueConfigurations[index]
|
||||
if (Cura.MachineManager.matchesConfiguration(configuration)) {
|
||||
if (Cura.MachineManager.matchesConfiguration(configuration))
|
||||
{
|
||||
base.matched = true;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue