<div dir="ltr">Hi,<br><div><span style="background-color:rgb(251,252,253);color:rgb(0,0,0);font-family:monospace,fixed;font-size:9pt;line-height:15px"><br></span></div><div><span style="background-color:rgb(251,252,253);color:rgb(0,0,0);font-family:monospace,fixed;font-size:9pt;line-height:15px">After right or left clicking the interface legend in an empty space,</span></div>
<div><span style="background-color:rgb(251,252,253);color:rgb(0,0,0);font-family:monospace,fixed;font-size:9pt;line-height:15px"><br></span></div><div><span style="background-color:rgb(251,252,253);color:rgb(0,0,0);font-family:monospace,fixed;font-size:9pt;line-height:15px">iface.mapCanvas.currentLayer() == None</span></div>
<div><span style="background-color:rgb(251,252,253);color:rgb(0,0,0);font-family:monospace,fixed;font-size:9pt;line-height:15px"><br></span></div><div>Shouldn't <span style="background-color:rgb(251,252,253)"><font color="#000000" face="monospace, fixed"><span style="font-size:9pt;line-height:15px">currentLayerChanged() signal be </span><span style="font-size:12px;line-height:15px">thrown? It does not seem to.</span></font></span><span style="background-color:rgb(251,252,253);color:rgb(0,0,0);font-family:monospace,fixed;font-size:9pt;line-height:15px"><br>
</span></div><div><span style="background-color:rgb(251,252,253)"><font color="#000000" face="monospace, fixed"><span style="font-size:12px;line-height:15px"><br></span></font></span></div><div><span style="background-color:rgb(251,252,253)"><font color="#000000" face="monospace, fixed"><span style="font-size:12px;line-height:15px">Thanks,</span></font></span></div>
<div><span style="background-color:rgb(251,252,253)"><font color="#000000" face="monospace, fixed"><span style="font-size:12px;line-height:15px"><br></span></font></span></div><div><span style="background-color:rgb(251,252,253)"><font color="#000000" face="monospace, fixed"><span style="font-size:12px;line-height:15px">Alexandre Neto</span></font></span></div>
</div>