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

Loading…
Cancel
Save