Fix load button bugs
This commit is contained in:
parent
1559b663fa
commit
564dbf2e57
@ -275,6 +275,8 @@ public partial class ReCodeItForm : Form
|
|||||||
|
|
||||||
DataProvider.LoadMappingFile(result);
|
DataProvider.LoadMappingFile(result);
|
||||||
AppSettings.Remapper.MappingPath = result;
|
AppSettings.Remapper.MappingPath = result;
|
||||||
|
AppSettings.Remapper.UseProjectMappings = false;
|
||||||
|
ActiveProjectMappingsCheckbox.Checked = false;
|
||||||
DataProvider.SaveAppSettings();
|
DataProvider.SaveAppSettings();
|
||||||
|
|
||||||
LoadedMappingFilePath.Text = result;
|
LoadedMappingFilePath.Text = result;
|
||||||
|
@ -24,7 +24,12 @@ public class ReCodeItCrossCompiler
|
|||||||
public void StartRemap()
|
public void StartRemap()
|
||||||
{
|
{
|
||||||
ChangedTypes.Clear();
|
ChangedTypes.Clear();
|
||||||
Remapper.InitializeRemap(ActiveProject.OriginalAssemblyPath, ActiveProject.RemappedAssemblyPath, true);
|
|
||||||
|
Remapper.InitializeRemap(
|
||||||
|
ActiveProject.RemapModels,
|
||||||
|
ActiveProject.OriginalAssemblyPath,
|
||||||
|
ActiveProject.RemappedAssemblyPath,
|
||||||
|
true);
|
||||||
|
|
||||||
if (ActiveProject == null)
|
if (ActiveProject == null)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user