Check for qtUIManager before calling update method
There's a race condition between when the attribute editor is loaded and when the plugin has been notified that the project is loaded. So this fix just checks for the qtUIManager. Surprising this didn't bite me sooner...