You could also have tried deleting .leo/db/global/open-leo-files... On May 7, 2012 8:41 PM, "Terry Brown" <[email protected]> wrote:
> Given the apparent lack of a cross-OS way to check that a PID is not a > running instance of Leo, I've added this second question to the user > when multiple opening is reported for a file: > > + if result == 'yes': > + clear = g.app.gui.runAskYesNoDialog(c, > + title='Reset open count?', > + message='Reset open count for %s?' \ > + "\nSay yes if you know this outline" \ > + "\nis not really open elsewhere"% (fn), > + ) > + if clear == 'yes': > + d[tag] = [i for i in d[tag] if i != fn] > + # IMPORTANT - rest of load process will add > another > + # entry for this Leo instance, don't do it here > > Now (after clicking Yes eight times once), I can open Leo without > clicking Yes four times every time :-) > > Cheers -Terry > > -- > You received this message because you are subscribed to the Google Groups > "leo-editor" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/leo-editor?hl=en. > > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
