adw needs to be initialized in frontend startup before frontend data (#99)

This commit is contained in:
takotori 2024-04-07 11:00:34 +02:00 committed by GitHub
parent 5f0781ee18
commit a7489f7dbb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -155,9 +155,9 @@ impl ReSetWindow {
let mut plugin_sidebar_list = vec![];
unsafe {
for plugin in FRONTEND_PLUGINS.iter() {
(plugin.frontend_startup)();
let (sidebar_info, plugin_boxes) = (plugin.frontend_data)();
let listeners = self_imp.listeners.clone();
(plugin.frontend_startup)();
let event = Rc::new(
move |reset_main: FlowBox,