Avoid threading issues setting QSObject cache/data
Don't hide the iSelector if the action is being cleared. Fixes #1467
Merge pull request #1468 from pjrobertson/i1467

Don't hide the iSelector if the action is being cleared. Fixes #1467