This commit is contained in:
Tamara Hogenhout 2015-08-13 14:03:03 +02:00
parent 41ee464879
commit 3a1e6333cc
2 changed files with 5 additions and 7 deletions

View File

@ -9,18 +9,17 @@ import QtQuick.Window 2.1
import UM 1.0 as UM
UM.Wizard{
// This part checks whether there is a printer -> if not some of the functions (delete for example) are disabled
// This part is optional
property bool printer: true
firstRun: printer ? false : true
//: Add Printer dialog title
wizardTitle: qsTr("Add Printer")
wizardPages: [
{
title: "Add Printer",
page: "AddMachine.qml"
}
]
// This part is optional
// This part checks whether there is a printer -> if not: some of the functions (delete for example) are disabled
property bool printer: true
firstRun: printer ? false : true
}

View File

@ -3,7 +3,6 @@
"version": 1,
"author": "other",
"manufacturer": "other",
"author": "other",
"add_pages": [{"page": "AddMachine", "title": "Add new printer"}],