diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 92375a5..5d24f3e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,7 @@ on: - pre-rel-* env: CARGO_TERM_COLOR: always - rust_stable: 1.76.0 + rust_stable: 1.81.0 jobs: release: diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 6b5fbfd..82619fc 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -9,7 +9,7 @@ on: - main env: - rust_stable: 1.76.0 + rust_stable: 1.81.0 jobs: build: diff --git a/cli/src/ui/save_file_dialog.rs b/cli/src/ui/save_file_dialog.rs index 1662c39..fa411c4 100644 --- a/cli/src/ui/save_file_dialog.rs +++ b/cli/src/ui/save_file_dialog.rs @@ -41,7 +41,7 @@ impl SaveFileDialog { fn file_browser_key_event(&mut self, key_event: KeyEvent) -> Result { let status = self.file_browser.handle_key_event(key_event)?; match status { - ComponentStatus::Closed => self.save_path = self.file_browser.selected.clone(), + ComponentStatus::Closed => self.save_path.clone_from(&self.file_browser.selected), ComponentStatus::Active => { if let Some(filename) = self.file_browser.get_selected_filename() { self.filename_input.set_text(filename);