From a7489f7dbb71bc80c875d5cac84d8a573c020f99 Mon Sep 17 00:00:00 2001 From: takotori <95466941+takotori@users.noreply.github.com> Date: Sun, 7 Apr 2024 11:00:34 +0200 Subject: [PATCH] adw needs to be initialized in frontend startup before frontend data (#99) --- 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,