In the case where a user has specified an initial layout in myLeoSettings.leo but had a typo in the layout name, the setting in leoSettings.leo wouldn't be known. I don't think this is terribly unlikely. So there has to be reasonable default to use in this situation. I've tested this case, BTW, and the code works as intended. PR coming up very soon.
On Wednesday, October 23, 2024 at 1:11:14 PM UTC-4 Edward K. Ream wrote: > On Wed, Oct 23, 2024 at 9:31 AM Thomas Passin <[email protected]> wrote: > >> We do need to be able to load a layout if the setting for the startup >> layout is missing or specifies a non-existent layout. If no one objects, I >> will make that be "vertical-thirds". > > > Any default is fine with me. You are talking about an edge case because > LeoSettings.leo will supply a default. > > 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 visit https://groups.google.com/d/msgid/leo-editor/047dcd33-62d5-4eaa-9978-13b715fa563dn%40googlegroups.com.
