On Tue, 4 Nov 2014 12:16:52 -0600
"Edward K. Ream" <edream...@gmail.com> wrote:

> On Tue, Nov 4, 2014 at 10:40 AM, Edward K. Ream <edream...@gmail.com>
> wrote:
> 
> >
> >
> > On Tue, Nov 4, 2014 at 7:10 AM, Edward K. Ream <edream...@gmail.com>
> > wrote:
> >
> >> On Mon, Nov 3, 2014 at 4:26 PM, Stephen <stephen...@gmail.com>
> >> wrote:
> >>
> >> I am having trouble saving leo files in a fresh leo cloned from
> >> github,
> >>> with ensure_extension() complaining about concatenating a tuple
> >>> and str at L2636.
> >>>
> >>
> ​Fixed at rev bf59164.
> 
> This is a really, really strange one.
> QtWidgets.QFileDialog.getSaveFileName returns a tuple, the first of
> which is the desired file name.
> 
> The documentation clearly states that the returned result is a
> QString:
> http://qt-project.org/doc/qt-5/qfiledialog.html#getSaveFileName

Ditto Qt4.

from leo.core.leoQt import QtWidgets
x = QtWidgets.QFileDialog.getSaveFileName()
x

is giving me a string, but your fix works either way, so issue closed :)

> File this under "one of life's mysteries".

Yep.

Cheers -Terry

> Edward
> 

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to