On Sat, Aug 4, 2018 at 2:29 PM, vitalije <vitali...@gmail.com> wrote:

> Revision  5c8fa20
> <https://github.com/leo-editor/leo-editor/commit/5c8fa206c7e33a0f3e6addf843a4639384fd3f73>
> contains fix.
>

Works for me.  However, the tree widget has a light background, even when
using a dark theme.

>
> This is a perfect example of the initialization mess.
>
...


> Instead initialization code should be kept free and clean of any gui
> calls. Either writeFromString must not call gui methods like endEditing,
> either reload_settings, init_env in abbrevCommands must not call
> writeFromString.
>

Or an extra guard can be added, as you did, without imposing any global
constraint.

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 post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to