Browse Source

make initial update action

master
yggverse 2 months ago
parent
commit
2a985a6fa1
  1. 5
      src/browser.rs

5
src/browser.rs

@ -7,7 +7,7 @@ use main::Main;
use gtk::{ use gtk::{
gio::SimpleAction, gio::SimpleAction,
prelude::{ActionMapExt, GtkWindowExt}, prelude::{ActionExt, ActionMapExt, GtkWindowExt},
Application, ApplicationWindow, Application, ApplicationWindow,
}; };
use std::sync::Arc; use std::sync::Arc;
@ -135,6 +135,9 @@ impl Browser {
} }
}); });
// Make initial update @TODO move to the app init level
action_update.activate(None);
// Return activated browser struct // Return activated browser struct
Self { Self {
// db, // db,

Loading…
Cancel
Save