On Wed, 28 Oct 2015 06:54:18 -0700 (PDT)
john lunzer <[email protected]> wrote:

> Okay, this was caused by moving QApplication from QtGui in PyQt4 to 
> QtWidgets in PyQt5. Newest commit should fix it, though I can't test
> it myself. Please let me know if this clears things up!

Ha, decided to run py3 / qt5 just to see where things were at, and
found the same bug in the de-clutter code, so fixed that.  I don't see
any issues with 8a0ca9602 for py3 / qt5 Nav except I'm not sure if
keyboard focus is working as it should, seems in py27 / qt 4
hitting enter after typing the search target gives keyboard focus to
the Nav list allowing arrow key navigation, but in py3 / qt5 focus goes
to the body.  Annoying when qt behaviors differ that way.

Cheers -Terry

> On Wednesday, October 28, 2015 at 9:28:38 AM UTC-4, lewis wrote:
> >
> > Hi John,
> >
> > Appreciate the quick response. I just tested again and Leo survives 
> > pressing enter and a list of hits is presented. If I select a hit
> > Leo crashes.
> >
> > ** isPython3: True
> > Leo 5.1-final, build 20151027155247, Tue Oct 27 15:52:47 CDT 2015
> > Git repo info: branch = master, commit = 7037cdd07abf
> > Python 3.4.3, PyQt version 5.5.1
> > Windows 7 AMD64 (build 6.1.7601) SP1
> > reading settings in N:\leo\workbook.leo
> > Traceback (most recent call last):
> >   File "n:\git\leo-editor\leo\plugins\quicksearch.py", line 693, in 
> > onSelectItem
> >
> >     modifiers = QtGui.QApplication.keyboardModifiers()
> > AttributeError: 'module' object has no attribute 'QApplication'
> > [end]
> >
> > Lewis
> >
> 

-- 
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 [email protected].
To post to this group, send email to [email protected].
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