Skip to content

Commit

Permalink
Fixed an issue if the program was never started on a new computer.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlebansais committed Nov 25, 2019
1 parent 0d1915e commit b982c1a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
6 changes: 1 addition & 5 deletions PgBrewer/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -829,16 +829,12 @@ public void OnGotFocus(ComboBox sender)

CanGoBack = (Owner.Previous != null);
CanGoForward = (Owner.Next != null);

System.Diagnostics.Debug.WriteLine("Got Focus " + CanGoBack + " " + CanGoForward);
}

public void OnLostFocus(ComboBox sender)
{
//CanGoBack = false;
//CanGoForward = false;

System.Diagnostics.Debug.WriteLine("Lost Focus");
}

private void OnBack(object sender, RoutedEventArgs e)
Expand Down Expand Up @@ -1062,7 +1058,7 @@ public bool GetPreviousLineIndex(IFourComponentsAlcohol next, IFourComponentsAlc
}

previousLineIndex = -1;
return true;
return false;
}

private int GetPreviousToNextIndex(ComponentAssociationCollection associationList, int previousIndex)
Expand Down
4 changes: 2 additions & 2 deletions PgBrewer/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.6")]
[assembly: AssemblyFileVersion("1.0.0.6")]
[assembly: AssemblyVersion("1.0.0.8")]
[assembly: AssemblyFileVersion("1.0.0.8")]
4 changes: 2 additions & 2 deletions PgBrewer/Resources/EffectList.txt
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ Dwarven Stout;(?) Sprint Speed Boost -1.5, Taunt From Attack Damage +30%;Taunter
Dwarven Stout;(?) Taunt From Attack Damage -10.5%;;of Meekness
Dwarven Stout;(?) Taunt From Attack Damage +20%;Taunter's;
Dwarven Stout;(?) Unarmed Ability Power Cost -6%, Shield Ability Power Cost -7%, Sword Ability Power Cost -7%;;
Potato Vodka;(?) Burst Attacks +10 Damage to Elite
Potato Vodka;Your burst attacks deal +10 damage to Elite ennemies;;of Elite-Killing
Potato Vodka;(?) Chance for Your Attacks to Miss +33%, Sprint Boost (Out of Combat) +0.1
Potato Vodka;(?) Chance to chop extra Perfect Wood +10%, Chance to chop extra wood +24 %
Potato Vodka;(?) Chance to Evade Melee Attacks +1%
Expand Down Expand Up @@ -430,7 +430,7 @@ Potato Vodka;(?) Sprint Speed Boost -1.5, Taunt from Attack Damage +10%
Potato Vodka;(?) take -1 damage from elite
Potato Vodka;Taunt From Attack Damage -1%;;of Meekness
Potato Vodka;Taunt From Attack Damage +1%;Taunter's;
Applejack;(?) Burst Attacks +10 Damage to Elite
Applejack;Your burst attacks deal +19 damage to Elite ennemies;;of Elite-Killing
Applejack;(?) Chance for Your Attacks to Miss +33%, Sprint Boost (Out of Combat) +0.1
Applejack;(?) Chance to chop extra Perfect Wood +10%, Chance to chop extra wood +24 %
Applejack;(?) Chance to Evade Melee Attacks +1%
Expand Down

0 comments on commit b982c1a

Please sign in to comment.