Wizard: "next button" visibility in backward direction fixed

This commit is contained in:
Ilya Kitaev 2016-02-08 10:15:25 +03:00
parent 8bc411c598
commit 16020ae2a8

View file

@ -65,6 +65,8 @@ Rectangle {
}
function handlePageChanged() {
var nextButtonVisible = pages[currentPage] !== optionsPage;
nextButton.visible = nextButtonVisible;
switch (pages[currentPage]) {
case passwordPage:
// disable "next" button until passwords match
@ -85,8 +87,7 @@ Rectangle {
// nextButton.enabled = false;
break
default:
var nextButtonVisible = pages[currentPage] !== optionsPage;
//nextButton.visible = nextButton.enabled = nextButtonVisible;
}
}