mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
The buying list now acts like a shopping cart. It is no longer cleared when switching between categories or containers. Closing the dialog or switching to sell mode still clears it. Also fixed: - Filter button in sell mode - Bug where filtering sellable list readded items already moved to selling list - Visual price display not clearing when remove all button is used on buying list - Gear container picture showing rank instead of portrait in buy mode - Dialog is no longer closed when trying to sell zero items - LbCurSel is now reset when the buyable list is cleared - Category is no longer opened onLbSelChanged. Instead you need to double click or use the "View" button, so the arrow keys can be used for selecting too.
10 lines
295 B
Plaintext
10 lines
295 B
Plaintext
/**
|
|
* [_text] call Z_filleTradeTitle
|
|
*
|
|
* @param String _this select 0 (_text) -> The text you want in the label.
|
|
*
|
|
* Changes the indication of where you are selling/buying from in the trade window.
|
|
**/
|
|
#include "defines.hpp"
|
|
_text = _this select 0;
|
|
ctrlSetText [Z_AT_CONTAINERINDICATOR, _text]; |