From 5bc904fc1e580fbc8b83803b71ee99c15fa3bbdf Mon Sep 17 00:00:00 2001 From: Behrang Shafei <50267830+bertiqwerty@users.noreply.github.com> Date: Mon, 14 Oct 2024 15:54:10 +0200 Subject: [PATCH] write last time opened also on load --- rvimage/src/rvlib/control/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rvimage/src/rvlib/control/mod.rs b/rvimage/src/rvlib/control/mod.rs index d04a7fa..a1d600a 100644 --- a/rvimage/src/rvlib/control/mod.rs +++ b/rvimage/src/rvlib/control/mod.rs @@ -282,6 +282,9 @@ impl Control { // save cfg of loaded project trace_ok_err(cfg::write_cfg(&self.cfg)); + // write time stamp to indicate that the project is currently open + self.write_lasttimeprjopened(); + Ok(tools_data_map) }