<div dir="ltr"><div dir="auto">I believe this is the expected behavior for PyQt5 compared to PyQt4.</div><div dir="auto"><br></div><div dir="auto"><a href="http://pyqt.sourceforge.net/Docs/PyQt5/pyqt4_differences.html#qfiledialog">http://pyqt.sourceforge.net/Docs/PyQt5/pyqt4_differences.html#qfiledialog</a><br></div><div dir="auto"><br></div><div><br></div><div>-Maxwell</div><div dir="auto"><br></div><div dir="auto"><div dir="auto"><br></div><div dir="auto"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Aug 1, 2017 11:30 AM, "Webster, Jeremy David" <<a href="mailto:jwebster@lanl.gov" target="_blank">jwebster@lanl.gov</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr" style="font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:Calibri,Arial,Helvetica,sans-serif">
<p>A minor inconvenience I think, but the documentation for QFileDialog.getSaveFileName shows it should return the filename as a string, but it returns a tuple that consists of the filename string and the filter</p>
<p><br>
</p>
<p>other related methods...</p>
<p><br>
</p>
<p>getOpenFileName has the same, "incorrect" behavior</p>
<p><br>
</p>
<p>getExistingDirectory behaves correctly<br>
</p>
</div>
<br>______________________________<wbr>_________________<br>
PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com" target="_blank">PyQt@riverbankcomputing.com</a><br>
<a href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt" rel="noreferrer" target="_blank">https://www.riverbankcomputing<wbr>.com/mailman/listinfo/pyqt</a><br></blockquote></div></div>
</div>