mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-10-10 15:27:53 -06:00
cleanup
This commit is contained in:
parent
41ee464879
commit
3a1e6333cc
2 changed files with 5 additions and 7 deletions
|
@ -9,18 +9,17 @@ import QtQuick.Window 2.1
|
||||||
import UM 1.0 as UM
|
import UM 1.0 as UM
|
||||||
|
|
||||||
UM.Wizard{
|
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
|
//: Add Printer dialog title
|
||||||
wizardTitle: qsTr("Add Printer")
|
wizardTitle: qsTr("Add Printer")
|
||||||
|
|
||||||
wizardPages: [
|
wizardPages: [
|
||||||
{
|
{
|
||||||
title: "Add Printer",
|
title: "Add Printer",
|
||||||
page: "AddMachine.qml"
|
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
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
"version": 1,
|
"version": 1,
|
||||||
"author": "other",
|
"author": "other",
|
||||||
"manufacturer": "other",
|
"manufacturer": "other",
|
||||||
"author": "other",
|
|
||||||
|
|
||||||
"add_pages": [{"page": "AddMachine", "title": "Add new printer"}],
|
"add_pages": [{"page": "AddMachine", "title": "Add new printer"}],
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue