From a093f57919a7740aab9d2b59a15f2cc6d66571b5 Mon Sep 17 00:00:00 2001 From: takotori Date: Sun, 7 Apr 2024 11:00:04 +0200 Subject: [PATCH] adw needs to be initialized in frontend startup before frontend data --- src/components/window/reset_window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/window/reset_window.rs b/src/components/window/reset_window.rs index 42e8deb..d5364b4 100644 --- a/src/components/window/reset_window.rs +++ b/src/components/window/reset_window.rs @@ -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,