Hopefully fix for Folder Select dialog not showing the correct autodetected path

This commit is contained in:
dexy 2019-10-31 15:24:57 +11:00
parent 6e004329f4
commit 262e6666c9

View File

@ -21,11 +21,12 @@ namespace CodeWalker
public SelectFolderForm()
{
InitializeComponent();
SelectedFolder = GTAFolder.CurrentGTAFolder;
}
private void SelectFolderForm_Load(object sender, EventArgs e)
{
FolderTextBox.Text = GTAFolder.CurrentGTAFolder;
FolderTextBox.Text = SelectedFolder;
RememberFolderCheckbox.Checked = Settings.Default.RememberGTAFolder;
}