mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 05:23:58 -06:00
Refactoring; Renaming firstRunWizard to machineActionsWizard
CURA-1385
This commit is contained in:
parent
a7deb53acf
commit
3f3a93ae8a
1 changed files with 4 additions and 4 deletions
|
@ -773,14 +773,14 @@ UM.MainWindow
|
|||
id: addMachineDialog
|
||||
onMachineAdded:
|
||||
{
|
||||
firstRunWizard.start(id)
|
||||
machineActionsWizard.start(id)
|
||||
}
|
||||
}
|
||||
|
||||
// Dialog to handle first run machine actions
|
||||
UM.Wizard
|
||||
{
|
||||
id: firstRunWizard;
|
||||
id: machineActionsWizard;
|
||||
|
||||
title: catalog.i18nc("@title:window", "Add Printer")
|
||||
property var machine;
|
||||
|
@ -793,13 +793,13 @@ UM.MainWindow
|
|||
for (var i = 0; i < actions.length; i++)
|
||||
{
|
||||
actions[i].displayItem.reset()
|
||||
firstRunWizard.appendPage(actions[i].displayItem, catalog.i18nc("@title", actions[i].label));
|
||||
machineActionsWizard.appendPage(actions[i].displayItem, catalog.i18nc("@title", actions[i].label));
|
||||
}
|
||||
|
||||
//Only start if there are actions to perform.
|
||||
if (actions.length > 0)
|
||||
{
|
||||
firstRunWizard.currentPage = 0;
|
||||
machineActionsWizard.currentPage = 0;
|
||||
show()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue