From 6506256dc28dc83613cb732c5ce87a706b0b9918 Mon Sep 17 00:00:00 2001 From: Rokas Puzonas Date: Mon, 8 May 2023 11:04:09 +0300 Subject: [PATCH] fix minor bugs --- src/app.rs | 6 +++--- src/ubus.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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