Skip to content

Fix crash when deleting newly created config set#1115

Merged
LocalIdentity merged 1 commit intoPathOfBuildingCommunity:devfrom
Paliak:issue-1077
May 7, 2025
Merged

Fix crash when deleting newly created config set#1115
LocalIdentity merged 1 commit intoPathOfBuildingCommunity:devfrom
Paliak:issue-1077

Conversation

@Paliak
Copy link
Copy Markdown
Contributor

@Paliak Paliak commented May 7, 2025

Fixes #1077

Description of the problem being solved:

Creating a new config set would save the entire table into self.selValue which is then later used as an index. Since the configSets table is indexed by ids instead it returns null and causes a crash.

This pr simply makes the save button function save the id instead of the full table. This also makes the newly created config set highlight nicely.

Link to a build that showcases this PR:

See reproduction steps in issue

Before screenshot:

obraz

After screenshot:

obraz

@Paliak Paliak added crash Causes PoB to crash and is High Priority user-interface Changes that only affect the UI labels May 7, 2025
@LocalIdentity LocalIdentity merged commit b392f69 into PathOfBuildingCommunity:dev May 7, 2025
1 of 2 checks passed
@Phobic-HR
Copy link
Copy Markdown

Crash is still reproducible in two other locations. Manage Skill Sets and Manage Items Sets.
Line 65 in SkillSetListControl and Line 56 in ItemSetListControl.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

crash Causes PoB to crash and is High Priority user-interface Changes that only affect the UI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Creating a new set and clicking Rename, Copy, Delete crashes the client

3 participants