<div dir="ltr">Hi Andreas,<div><br></div><div>The locator widget result is a tree view. Results are triggered when the item is activated.</div><div>>From Qt doc [0], activation depends on the platform (single vs double click).</div><div><br></div><div>We could change this to use clicked (actually clicked+entered) instead.</div><div><br></div><div>I don't know why it was built like this at first, let's wait for Nyall's input.</div><div><br></div><div>Denis</div><div><br></div><div>[0] <a href="https://doc.qt.io/qt-5/qabstractitemview.html#activated">https://doc.qt.io/qt-5/qabstractitemview.html#activated</a> </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 15 oct. 2019 à 09:22, Andreas Neumann <<a href="mailto:a.neumann@carto.net">a.neumann@carto.net</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>Hi,</p>
<p>We just had a Locator plugin developed for our organization. During beta testing it, my users asked why they have to "double-click" instead of "single-click" on a search result in order to get the chosen search result.</p>
<p>For now I said them that QGIS core does it like this and that Plugins cannot or should not change this behaviour.</p>
<p>But why is QGIS core using double click instead of single click? I guess there might be a reason ... Could you please fill me in about the reason?</p>
<p>Thanks,</p>
<p>Andreas</p>
<p><br></p>

</div>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div>