mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-07 04:19:00 +08:00
Only hides the window when there are no more pages
so it doens't hide before the error message is shown and it doesn't hide when there are extra pages (like for the UMO) Contributes to #CURA-256 Contributes to #429
This commit is contained in:
parent
14abec095c
commit
831419d110
@ -7,8 +7,6 @@ import QtQuick.Window 2.1
|
||||
import QtQuick.Controls.Styles 1.1
|
||||
|
||||
import UM 1.1 as UM
|
||||
import Cura 1.0 as Cura
|
||||
import ".."
|
||||
|
||||
Item
|
||||
{
|
||||
@ -80,7 +78,6 @@ Item
|
||||
base.wizard.removePage(i)
|
||||
}
|
||||
saveMachine()
|
||||
base.wizard.visible = false
|
||||
}
|
||||
}
|
||||
onBackClicked:
|
||||
@ -296,6 +293,9 @@ Item
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(base.wizard.lastPage == true){
|
||||
base.wizard.visible = false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user