Fix back button.
Former-commit-id: 3a0937a2f75c279de7c113121c098b04a59fe9d1
This commit is contained in:
parent
14b1716be8
commit
bd65a373ec
|
@ -53,6 +53,8 @@ private void backButton__Click(object sender, RoutedEventArgs e)
|
|||
{
|
||||
swap(welcomePanel_);
|
||||
}
|
||||
|
||||
backButton_.IsEnabled = currentPanel_ != welcomePanel_;
|
||||
}
|
||||
|
||||
private void nextButton__Click(object sender, RoutedEventArgs e)
|
||||
|
@ -67,10 +69,7 @@ private void nextButton__Click(object sender, RoutedEventArgs e)
|
|||
swap(licensePanel_);
|
||||
}
|
||||
|
||||
if (currentPanel_ != welcomePanel_)
|
||||
{
|
||||
backButton_.IsEnabled = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user