On Friday, August 30, 2024 at 5:39:16 PM UTC-5 [email protected] wrote:
I just discovered this. The shadow opened exactly on top of the other, so
I didn't realize it was there. That should be fixable, I think. And if
not, the previous version of the script works.
The previous version does not work for me. Neither branch of the "if"
statement works in general.
filename = c.fileName()
if len(g.app.commanders()) == 1:
# c.doCommandByName('restart-leo')
# c.redraw()
c.restartLeo()
else:
c.doCommandByName('close-window')
g.openWithFileName(filename, old_c=c)
c.redraw()
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/leo-editor/378603b2-7774-4b4b-81aa-0f095678e313n%40googlegroups.com.