Thx Charles I will re-test that scenario for the next version. All that code has had to change with hooking into the search cleared event. I don't know if I was just too tired when I wrote it but you have no idea how something that sounds so simple could cause me so many issues (as so many subtle ways that the event will get fired). I "think" I got there in the end but I will try to give it a good thrashing. It was a really good suggestion, nice to have a simple toolbar button to exit out of the search mode. It's just the permutations that in the end I took a bit of a brute force approach to ensuring I was not connected when I didn't want to be. It's to do with the independent nature of the plugin from other actions the user could be doing in the gui that makes it a bit more complex than I would have hoped.
@drMerry - the search is "supposed" to restrict the duplicate search respecting a value in that restriction combo on the left. Again I will retest this with the next version as again that code has all had to be massaged for this release.
|