mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-03 20:03:50 +00:00
fix: auction house refresh failed after browse-all (empty name search)
The auto-refresh after successful bid/buyout was gated on lastAuctionSearch_.name.length() > 0, so a browse-all search (empty name) would never refresh. Replaced with a hasAuctionSearch_ flag that's set on any search regardless of the name filter.
This commit is contained in:
parent
a2340dd702
commit
2e1f0f15ea
2 changed files with 5 additions and 2 deletions
|
|
@ -374,6 +374,7 @@ private:
|
|||
uint32_t offset = 0;
|
||||
};
|
||||
AuctionSearchParams lastAuctionSearch_;
|
||||
bool hasAuctionSearch_ = false; // true after any search (including empty-name browse-all)
|
||||
enum class AuctionResultTarget { BROWSE, OWNER, BIDDER };
|
||||
AuctionResultTarget pendingAuctionTarget_ = AuctionResultTarget::BROWSE;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue