Bug fixed
Posted by mholmes on 11 May 2010 in Activity log, Half-Baked Contributions
Fixed the duplicate item bug in the string list filter, and fixed an unused parameter issue in the constructor of HcmcImtDoc. Also spent a bit of time narrowing down an error message when running the application: CRITICAL **: atk_object_set_name: assertion `name != NULL' failed. This turns out to be a bug in GTK/Gnome, which is Ubuntu's problem, not QT's. If you run the app with "-style windows" you don't see it. It doesn't affect anything.
The next task is to figure out how to hook together selections between the two views of the document (the tree view and the xml:id list), so that if you select something in one view, it gets selected in the other. I suspect this will be something like:
- Get the model index for the selected item, and derive the source item from it.
- Get the model index for the same item in the parallel view (if there is one).
- Set the selection in the parallel view, without triggering the reverse process.