Skip to content

Commit

Permalink
fixed some advanced search gui options not resetting properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Eruyome committed Dec 1, 2016
1 parent b6f612a commit e744b92
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
4 changes: 4 additions & 0 deletions TradeUpdates.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
The following is a list of what has been updated, starting with 1.1.0

1.2.2
=================================================================================================
Fixed some advanced search gui options not resetting properly after searching.

1.2.1
=================================================================================================
Fixed a league parsing problem occuring between temp-leagues.
Expand Down
16 changes: 8 additions & 8 deletions trade_data/TradeMacro.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ TradeFunc_Main(openSearchInBrowser = false, isAdvancedPriceCheck = false, isAdva
Item.UsedInSearch.Sockets := ItemData.Sockets
}
; handle item links

If (s.UseLinks) {
RequestParams.link_min := ItemData.Links
Item.UsedInSearch.Links := ItemData.Links
Expand Down Expand Up @@ -2865,18 +2866,17 @@ TradeFunc_ResetGUI(){
break
}
}
newItem.mods :=
newItem.stats :=
newItem.useSockets :=
newItem.useLinks :=
newItem.useIlvl :=
newItem.minIlvl :=
newItem.useBase :=

TradeAdvancedUseSockets :=
TradeAdvancedUseLinks :=
TradeAdvancedSelectedILvl :=
TradeAdvancedMinILvl :=
TradeAdvancedSelectedItemBase :=
}

TradeFunc_HandleGuiSubmit(){
Global

Gui, SelectModsGui:Submit
newItem := {mods:[], stats:[], UsedInSearch : {}}
mods := []
Expand Down
2 changes: 1 addition & 1 deletion trade_data/Version.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
TradeReleaseVersion := "1.2.1"
TradeReleaseVersion := "1.2.2"
TradeAHKVersionRequired := "1.1.24.01"

0 comments on commit e744b92

Please sign in to comment.