Skip to content

Commit

Permalink
Fix to set default dir
Browse files Browse the repository at this point in the history
  • Loading branch information
marona42 committed Mar 2, 2021
1 parent ac318c0 commit 88a8761
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions SCTools/SCTool_Redesigned/Pages/selectDir.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ public partial class selectDir : Page
public selectDir()
{
InitializeComponent();
if (verify_Path(Defaultdir))
App.Settings.GameFolder = Defaultdir;
verify_Path(Defaultdir);

if (App.Settings.GameFolder != null)
{
Expand All @@ -57,7 +56,6 @@ private bool verify_Path(string directoryPath)
{
MainWindow.UI.NextBtn.Visibility = Visibility.Visible;
}));

return true;
}
}
Expand Down

0 comments on commit 88a8761

Please sign in to comment.