Skip to content

Conversation

@Sarath18
Copy link
Contributor

Fix for issue #99

Description

When the node is edit mode, depending on the node type the combo box index is set and the curentIndexChanged callback where checkValid() is called. Inside checkValid() node name is validated using RegExpValidator _validator which is created later in the constructor using the new operator.

Fix

Reordered QRegExpValidator so that it is created before the edit logic is executed.

Tested on

Ubuntu 20, Master branch of Groot and BehaviorTree.CPP

@facontidavide facontidavide merged commit dd61e4b into BehaviorTree:master Sep 29, 2020
@facontidavide
Copy link
Contributor

Thanks a lot.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants