Skip to content

Commit

Permalink
UI fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LIPtoH committed Jan 12, 2019
1 parent 455846b commit 9906201
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 13 deletions.
27 changes: 14 additions & 13 deletions TS SE Tool/FormMain.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions TS SE Tool/FormMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@ private void buttonRefreshAll_Click(object sender, EventArgs e)
FillAllProfilesPaths();
//FillProfiles();
//FillProfileSaves();
buttonMainDecryptSave.Enabled = true;
buttonMainLoadSave.Enabled = true;
}

private void FormMain_Load(object sender, EventArgs e)
Expand Down
11 changes: 11 additions & 0 deletions TS SE Tool/FormMethods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,11 @@ private void buttonDecryptSave_Click(object sender, EventArgs e)
string SiiSavePath = SavefilePath + @"\game.sii";
DecodeFile(SiiSavePath);

buttonMainDecryptSave.Enabled = false;
buttonMainLoadSave.Enabled = true;

ToggleGame(GameType);

//GC
GC.Collect();
//GC.WaitForPendingFinalizers();
Expand Down Expand Up @@ -654,6 +659,12 @@ public void FillProfileSaves()
}
}

private void comboBoxSaves_SelectedIndexChanged(object sender, EventArgs e)
{
buttonMainDecryptSave.Enabled = true;
buttonMainLoadSave.Enabled = true;
}

//end Profile and Saves groupbox
//end Main part controls

Expand Down

0 comments on commit 9906201

Please # to comment.