<div dir="ltr"><div><div><div><div><div>It looks like a bug.<br><br></div>Did you file a ticket?<br><br></div>The expected behavior is that the layer you are dragging is imported (without overwriting!) into the destination DB (the drop target).<br><br></div>In case of overwriting, a confirm dialog should appear.<br><br></div>I've recently worked on that for geopackage and I've also added some logic to prevent dropping onto itself (that could lead to data loss).<br><br></div><div>Cheers<br></div><div><div><div><br><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 5, 2017 at 8:39 AM, Martin Bain <span dir="ltr"><<a href="mailto:Martin.Bain@lismore.nsw.gov.au" target="_blank">Martin.Bain@lismore.nsw.gov.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="#0563C1" vlink="#954F72" lang="EN-AU">
<div class="m_7501038432158366784WordSection1">
<p class="MsoNormal">Hi List,<u></u><u></u></p>
<p class="MsoNormal">I just discovered a brutal feature of the Browser Panel.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">When browsing SQL Server if you happen to click and drag on a table then when you release the mouse button a dialog box will pop up saying “Import Competed”.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">The table under the cursor when mouse button is released gets overwritten with an empty table, without any sort of prompt!<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Within SQL Server I have now revoked DDL permissions from the user that did this (and myself).<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">But was wondering, Is there a way to prevent or modify this behaviour in QGIS?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
<p class="MsoNormal">Martin.<u></u><u></u></p>
</div>
<br clear="all">
This email is intended for the named recipient only.  The information it contains may be confidential.  If you are not the intended recipient you must not reproduce or distribute any part of this email, disclose its contents to any other party or take any action in reliance on it.  If you have received this email in error, please contact the sender immediately and delete the message.<br>
</div>

<br>______________________________<wbr>_________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Alessandro Pasotti<br>w3:   <a href="http://www.itopen.it" target="_blank">www.itopen.it</a></div>
</div>