Merge pull request #2644

3c6a1e4 wizard: fix mode selection back button (selsta)
This commit is contained in:
luigi1111
2019-12-23 09:30:21 -05:00
3 changed files with 6 additions and 15 deletions

View File

@@ -82,7 +82,6 @@ Rectangle {
property var m_wallet;
property alias wizardState: wizardStateView.state
property alias wizardStatePrevious: wizardStateView.previousView
property alias wizardStackView: stackView
property int wizardSubViewWidth: 780
property int wizardSubViewTopMargin: persistentSettings.customDecorations ? 90 : 32
@@ -146,19 +145,9 @@ Rectangle {
property WizardModeBootstrap wizardModeBootstrapView: WizardModeBootstrap {}
anchors.fill: parent
signal previousClicked;
color: "transparent"
state: ''
onPreviousClicked: {
if (previousView && previousView.viewName != null){
state = previousView.viewName;
} else {
state = "wizardHome";
}
}
onCurrentViewChanged: {
if (previousView) {
if (typeof previousView.onPageClosed === "function") {