Skip to content

Inventory Dialog Fix

Hachem_Muche requested to merge Hachem_Muche/t-engine4:InvDialogFix into master

This was a bear to track down...

Fixes a bug that can cause incorrect tabs to be pre-selected (possibly causing a crash) when the Inventory dialog is re-invoked. (Triggered when the new dialog instance is missing some tabs present in the previous instance.)

Fix: Previously selected tabs are now carried over from re-instantiation by matching the "kind" field instead of by tab number, with special handling to ensure that all tabs are selected if the "all" tag (if present), was selected.

Merge request reports

Loading