I have a layer of points and I associated a Python action to that layer which basically opens a url in the embedded QWebView.
This works well.
The issue I am facing is that if I zoom out and click on a region where several features are overlapping, the QWebView opens and reopens as many times as there are features stacked there.
Is there a way to prevent this? like:
- Stop previous action when a new one is launched
- Prevent the action to be ran for features that are not the first one visible