From: Benjamin R. <ben...@ou...> - 2011-03-04 02:26:27
|
On Thursday, March 3, 2011, Darren Dale <dsd...@gm...> wrote: > On Thu, Mar 3, 2011 at 10:22 AM, Benjamin Root <ben...@ou...> wrote: >> Just for completeness, I wanted to include a link to some sort of reference >> indicating a need to change the function. I can not find any documentation >> that says that we need to change from getSaveFileName() to >> getSaveFileNameAndFilter(). Can you please provide a source explaining the >> need for this change? > > Try here: http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/python_v3.html#qfiledialog > Exactly. That's all I found too. Nothing indicates that we need to change anything. We are throwing away the second part of the tuple which has the returned filter. The only reason I see for the new function is so the coder can get back the filter string, which we don't seem to use. Am I missing something? Ben Root |