Skip to content
This repository has been archived by the owner on Dec 16, 2018. It is now read-only.

Commit

Permalink
v0.08e
Browse files Browse the repository at this point in the history
- Bug fix
  • Loading branch information
mineminemine committed Oct 28, 2017
1 parent afb5494 commit 1e6fd97
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion MHXXSaveEditor/Data/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
class Constants
{
public const string EDITOR_VERSION = "MHXX Save Editor v0.08d";
public const string EDITOR_VERSION = "MHXX Save Editor v0.08e";

public const int SIZEOF_NAME = 32;

Expand Down
18 changes: 9 additions & 9 deletions MHXXSaveEditor/Forms/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
// This editor was made by Ukee from GBATemp https://gbatemp.net/threads/release-mhxx-save-editor.481210/
// The source code can be found @ https://github.com/mineminemine/MHXXSaveEditor

using System;
using System.IO;
using System.Text;
using System.Linq;
using System.Windows.Forms;
using MHXXSaveEditor.Data;
using MHXXSaveEditor.Util;
using MHXXSaveEditor.Forms;
using MHXXSaveEditor.Util;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MHXXSaveEditor
{
Expand Down Expand Up @@ -906,7 +906,7 @@ private void buttonEditPalico_Click(object sender, EventArgs e)
{
if (listViewPalico.SelectedItems.Count > 0)
{
int selectedSlot = listViewPalico.Items.IndexOf(listViewPalico.SelectedItems[0]);
int selectedSlot = Int32.Parse(listViewPalico.SelectedItems[0].SubItems[0].Text) - 1;
EditPalicoDialog editPalico = new EditPalicoDialog(this, listViewPalico.SelectedItems[0].SubItems[1].Text, selectedSlot);
editPalico.ShowDialog();
editPalico.Dispose();
Expand All @@ -926,7 +926,7 @@ private void listViewPalico_MouseDoubleClick(object sender, MouseEventArgs e)
{
if (listViewPalico.SelectedItems.Count > 0)
{
int selectedSlot = listViewPalico.Items.IndexOf(listViewPalico.SelectedItems[0]);
int selectedSlot = Int32.Parse(listViewPalico.SelectedItems[0].SubItems[0].Text) - 1;
EditPalicoDialog editPalico = new EditPalicoDialog(this, listViewPalico.SelectedItems[0].SubItems[1].Text, selectedSlot);
editPalico.ShowDialog();
editPalico.Dispose();
Expand Down Expand Up @@ -1368,7 +1368,7 @@ private void comboBoxEquipName_SelectedIndexChanged(object sender, EventArgs e)
numericUpDownEquipLevel.Enabled = true;
}
}

private void listViewPalicoEquipment_SelectedIndexChanged(object sender, EventArgs e)
{
if (listViewPalicoEquipment.SelectedItems.Count == 0) // Check if nothing was selected
Expand Down

0 comments on commit 1e6fd97

Please sign in to comment.