mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
Fix back button.
This commit is contained in:
parent
489c275d88
commit
3a0937a2f7
@ -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;
|
||||
}
|
||||
backButton_.IsEnabled = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user