Skip to content

Commit

Permalink
Merge pull request #14 from stephen1590/main
Browse files Browse the repository at this point in the history
UI Refresh
  • Loading branch information
Goobwabber authored Mar 13, 2022
2 parents 9d3e793 + 878a4d4 commit 53fda09
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions LegacyInstaller/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,10 @@ private void bsPathBrowseButton_Click(object sender, RoutedEventArgs e)
private void bsPathTextBox_TextChanged(object sender, TextChangedEventArgs e)
{
if (bsPathTextBox.Text != null && Directory.Exists(bsPathTextBox.Text))
{
BSInstallDir = bsPathTextBox.Text;
RefreshUI();
}
else
BSInstallDir = null;
}
Expand All @@ -196,7 +199,10 @@ private void steamPathBrowseButton_Click(object sender, RoutedEventArgs e)
private void steamPathTextBox_TextChanged(object sender, TextChangedEventArgs e)
{
if (steamPathTextBox.Text != null && Directory.Exists(steamPathTextBox.Text))
{
_steamProcess = new SteamProcess(steamPathTextBox.Text);
RefreshUI();
}
else
_steamProcess = null;
}
Expand Down

0 comments on commit 53fda09

Please sign in to comment.