diff --git a/src/components/window/reset_window.rs b/src/components/window/reset_window.rs index c813bd0..8c4c0e0 100644 --- a/src/components/window/reset_window.rs +++ b/src/components/window/reset_window.rs @@ -144,10 +144,13 @@ impl ReSetWindow { let mut plugin_sidebar_list = vec![]; unsafe { for plugin in FRONTEND_PLUGINS.iter() { + let plugin_capabilities = &plugin.capabilities; + + (plugin.frontend_startup)(); + let (sidebar_info, plugin_boxes) = (plugin.frontend_data)(); let listeners = self_imp.listeners.clone(); - (plugin.frontend_startup)(); if plugin_capabilities.1 { let mut found = false;