diff --git a/hammond-gtk/src/app.rs b/hammond-gtk/src/app.rs index 80e1ae9..3c51f1b 100644 --- a/hammond-gtk/src/app.rs +++ b/hammond-gtk/src/app.rs @@ -156,14 +156,8 @@ impl App { let sender = self.sender.clone(); if self.settings.get_boolean("refresh-on-startup") { info!("Refresh on startup."); - // The ui loads async, after initialization - // so we need to delay this a bit so it won't block - // requests that will come from loading the gui on startup. - gtk::timeout_add(1500, move || { - let s: Option> = None; - utils::refresh(s, sender.clone()); - glib::Continue(false) - }); + let s: Option> = None; + utils::refresh(s, sender.clone()); } }