mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 15:44:04 -06:00
Merge remote-tracking branch 'origin/4.1'
This commit is contained in:
commit
0c15f69c44
2 changed files with 8 additions and 6 deletions
|
@ -818,7 +818,12 @@ UM.MainWindow
|
||||||
Connections
|
Connections
|
||||||
{
|
{
|
||||||
target: Cura.Actions.addMachine
|
target: Cura.Actions.addMachine
|
||||||
onTriggered: addMachineDialog.show()
|
onTriggered:
|
||||||
|
{
|
||||||
|
// Make sure to show from the first page when the dialog shows up.
|
||||||
|
addMachineDialog.resetModelState()
|
||||||
|
addMachineDialog.show()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
AboutDialog
|
AboutDialog
|
||||||
|
|
|
@ -30,12 +30,9 @@ Window
|
||||||
property var model: null // Needs to be set by whoever is using this dialog.
|
property var model: null // Needs to be set by whoever is using this dialog.
|
||||||
property alias progressBarVisible: wizardPanel.progressBarVisible
|
property alias progressBarVisible: wizardPanel.progressBarVisible
|
||||||
|
|
||||||
onVisibilityChanged:
|
function resetModelState()
|
||||||
{
|
{
|
||||||
if (visible)
|
model.resetState()
|
||||||
{
|
|
||||||
model.resetState()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
WizardPanel
|
WizardPanel
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue