<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix"><font size="+1">I think this proposal
        is interesting<br>
        <br>
        Je la 12/02/2015 14:35, Jaroslaw Staniek skribisĀ :<br>
      </font></div>
    <blockquote
cite="mid:CAOj7QQ0mPsYpnAw0x5bWd+=H43E+UMzKaHGo46WSbckOHpFmcQ@mail.gmail.com"
      type="cite">
      <pre wrap=""><font size="+1">On 12 February 2015 at 14:15, Jaroslaw Staniek <a class="moz-txt-link-rfc2396E" href="mailto:staniek@kde.org"><staniek@kde.org></a> wrote:

</font></pre>
      <blockquote type="cite">
        <pre wrap=""><font size="+1">"Design of query <resource>%1</resource> that you want to export data
from is changed and has not yet been saved. Do you want save it prior
to exporting or use the original query for exporting?"

Buttons: [Save and Export] [Export From the Original] [Cancel](default)
</font></pre>
      </blockquote>
      <pre wrap=""><font size="+1">
Now the question remains for this function <a class="moz-txt-link-freetext" href="http://i.imgur.com/E82URWs.png">http://i.imgur.com/E82URWs.png</a>.
It's exactly the same as the "export to file" here
<a class="moz-txt-link-freetext" href="https://i.imgur.com/HjF2xoQ.png">https://i.imgur.com/HjF2xoQ.png</a>.

After a minute I am not sure requiring Save before I can export the
function is natural.
I can imagine user quickly altering the query design without saving
and exporting the data results to CSV.
Or copying to the clipboard. Quite handy. Then she can close the
design without saving if she wants.

So how about this rephrased message:

"Design of query <resource>%1</resource> that you want to export data
from is changed and has not yet been saved. Do you want to use data
from the changed query for exporting or from its original (saved)
version?"

Buttons: [Use the Changed Query] [Use the Original Query] [Cancel](default)

PS: Extra requirement proposed: to show users more context, before
asking the user, switch the tab to the opened window containing  the
query (without changing its view mode).

</font></pre>
    </blockquote>
  </body>
</html>