Crash leo completely using the Graph tab enabled via the graphcanvas plugin.
Select a node in the graph display, select the colour block icon ('set the
background colour of the selected node') Leo instantly crashes.
However if I first select the node in the graph pane, *drag it around* to
reposition it in the pane, then select the colour block, the colour change
panel launches as expected and I can change colours.
And further - I just discovered a crash occurs if you just select any icons
in lower icon bar (select/locate/remove/shapes/colour block/ text colour or
Clear formatting)
Here is the console:
Leo 5.4-b1, Sat Oct 22 09:30:16 2016
Git commit: a3718c36
Python 3.5.2, PyQt version 5.7.0
Windows 10 AMD64 (build 10.0.14393) SP0
reading settings in N:\leo\DServe_Eff_Filters.leo
wrote recent file: C:\Users\lewis\.leo\.leoRecentFiles.txt
reading settings in N:\leo\DServe_Eff_Filters.leo
Traceback (most recent call last):
File "N:\git\leo-editor\leo\plugins\graphcanvas.py", line 163, in <lambda>
u.btnColor.clicked.connect(lambda checked: o.setColor())
File "N:\git\leo-editor\leo\plugins\graphcanvas.py", line 1291, in
setColor
newcolor = QtWidgets.QColorDialog.getColor(color)
TypeError: getColor(initial: Union[QColor, Qt.GlobalColor, QGradient] =
Qt.white, parent: QWidget = None, title: str = '', options:
Union[QColorDialog.ColorDialogOptions, QColorDialog.ColorDialogOption] =
QColorDialog.ColorDialogOptions()): argument 1 has unexpected type 'str'
Regards
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 https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.