Skip to content

Commit

Permalink
updated default resource version to 6.6.1; now handling DataError eve…
Browse files Browse the repository at this point in the history
…nt for Item and Champion windows
  • Loading branch information
djrecipe committed Mar 25, 2016
1 parent cc1c73c commit 0508d1f
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Riot.API/Resources/Resource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace RiotPls.API.Resources
public class Resource
{
private const string DEFAULT_CONTENT_URL = "http://ddragon.leagueoflegends.com/cdn/";
private const string DEFAULT_CONTENT_VERSION = "6.3.1";
private const string DEFAULT_CONTENT_VERSION = "6.6.1";
protected const string DIRECTORY = "Resources";
protected const string FILENAME_IGNORE = "Ignore.csv";
protected static List<string> ignore = new List<string>();
Expand Down
2 changes: 1 addition & 1 deletion RiotPls.iss
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ShowLanguageDialog=auto
UninstallDisplayName=RiotPls

[Files]
; Program Files ;
; Program Files ;
Source: "Compiled\RiotPls.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "Compiled\*"; DestDir: "{app}"; Flags: ignoreversion; Excludes: "*.exe, *.pdb, *.Test.dll, *.txt, *.xml, *.vshost.*"
; Resources ;
Expand Down
4 changes: 4 additions & 0 deletions RiotPls/Forms/formChampions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public formChampions()
{
this.InitializeComponent();
this.gridMain.AutoGenerateColumns = false;
this.gridMain.DataError += this.gridMain_DataError;
return;
}
private void InitializeComponent()
Expand Down Expand Up @@ -690,6 +691,9 @@ private void gridMain_CellMouseEnter(object sender, DataGridViewCellEventArgs e)
this.ShowTooltip(e.RowIndex, e.ColumnIndex);
return;
}
private void gridMain_DataError(object sender, DataGridViewDataErrorEventArgs e)
{
}
private void itmShowStats_CheckedChanged(object sender, EventArgs e)
{
if(this.last_champ_name == null)
Expand Down
5 changes: 5 additions & 0 deletions RiotPls/Forms/formItems.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public formItems()
this.InitializeComponent();
this.menuItems = new ToolStripMenuItem[] { this.itmSetAsItem1, this.itmSetAsItem2, this.itmSetAsItem3, this.itmSetAsItem4, this.itmSetAsItem5, this.itmSetAsItem6};
this.gridMain.AutoGenerateColumns = false;
this.gridMain.DataError += this.gridMain_DataError;
return;
}
private void InitializeComponent()
Expand Down Expand Up @@ -393,6 +394,10 @@ private void gridMain_CellMouseEnter(object sender, DataGridViewCellEventArgs e)
this.last_item_name = this.gridMain.Rows[e.RowIndex].Cells["colName"].Value.ToString();
return;
}
private void gridMain_DataError(object sender, DataGridViewDataErrorEventArgs e)
{
return;
}
private void itmSetAsItem_CheckedChanged(object sender, EventArgs e)
{
if (!this.listeningToCheckboxes)
Expand Down
2 changes: 1 addition & 1 deletion RiotPls/Forms/formSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ private void InitializeComponent()
this.lblContentVersionValue.Size = new System.Drawing.Size(50, 13);
this.lblContentVersionValue.TabIndex = 8;
this.lblContentVersionValue.TabStop = true;
this.lblContentVersionValue.Text = "6.3.1";
this.lblContentVersionValue.Text = "6.6.1";
this.lblContentVersionValue.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.lblContentVersionValue.VisitedLinkColor = System.Drawing.Color.Violet;
this.lblContentVersionValue.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lblContentVersionValue_LinkClicked);
Expand Down

0 comments on commit 0508d1f

Please sign in to comment.