diff --git a/src/app.rs b/src/app.rs index 1dd6e56..f5a4712 100644 --- a/src/app.rs +++ b/src/app.rs @@ -100,7 +100,7 @@ impl Default for App { username: "root".to_owned(), password: "admin01".to_owned(), show_object_ids: false, - connect_on_start: true + connect_on_start: false }, session: None, ubus_call_handle: None, @@ -167,6 +167,8 @@ fn json_layouter(ui: &egui::Ui, string: &str, wrap_width: f32) -> Arc Result<()> { diff --git a/src/ubus.rs b/src/ubus.rs index 212a0b0..d5a3290 100644 --- a/src/ubus.rs +++ b/src/ubus.rs @@ -270,7 +270,7 @@ pub async fn list_verbose(session: &Session, path: Option<&str>) -> Result