​On Sat, Mar 14, 2020 at 3:58 PM Thomas Passin wrote:

Thank you, Edward!
>

​You're welcome.

Recent revs merge the VR3 code into both the 6.2 branch and the devel 
branch.

This should be safe because the only real change to leo\plugins\qt_gui.py 
was to the ​<< load viewrendered plugin >> section.

Your version of qt_gui was way out of date, so I made the change by hand. 
The new code is:

pc = g.app.pluginsController
# Load viewrendered (and call vr.onCreate) *only* if not already loaded.
if (
    not pc.isLoaded('viewrendered.py')
    and not pc.isLoaded('viewrendered2.py')
    and not pc.isLoaded('viewrendered3.py')
):
    vr = pc.loadOnePlugin('viewrendered.py')
    if vr:
        g.blue('viewrendered plugin loaded.')
        vr.onCreate('tag', {'c': c})

Please test this in either branch and report any problems.

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/ca847e3e-ba6a-4f47-bff2-a61eba610f4f%40googlegroups.com.

Reply via email to