mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 10:17:52 -06: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
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue