summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorqkzk <qu3nt1n@gmail.com>2024-10-28 22:47:28 +0100
committerqkzk <qu3nt1n@gmail.com>2024-10-29 00:25:01 +0100
commitf7e84f1113b8c00ce181ea6957a47e37bafe0611 (patch)
treeb21fda3de063b6d7a069488246e731b59441dda7
parentd6088e1884e40f7bd68d4c07991ec74671279b95 (diff)
FIX: Alt+c (open config file) should be betterly logged
-rw-r--r--development.md1
-rw-r--r--src/event/event_action.rs2
2 files changed, 2 insertions, 1 deletions
diff --git a/development.md b/development.md
index 21e8c06e..110de69a 100644
--- a/development.md
+++ b/development.md
@@ -1374,6 +1374,7 @@ New view: Tree ! Toggle with 't', fold with 'z'. Navigate normally.
- [x] FIX: input_simple: when height is low, static elements are out of the window
- [x] FIX: crash when deleting a file in tree mode
- [x] FIX: diplay directory last line shouldn't be printed - erase the last line before printing log.
+ - [x] FIX: Alt+c (open config file) should be betterly logged
- [x] doc
- [ ] ???
diff --git a/src/event/event_action.rs b/src/event/event_action.rs
index 0940f5a6..854ebd52 100644
--- a/src/event/event_action.rs
+++ b/src/event/event_action.rs
@@ -1324,7 +1324,7 @@ impl EventAction {
.opener
.open_single(&path::PathBuf::from(tilde(CONFIG_PATH).to_string()))
{
- Ok(_) => (),
+ Ok(_) => log_line!("Opened the config file {CONFIG_PATH}"),
Err(e) => log_info!("Error opening {:?}: the config file {}", CONFIG_PATH, e),
}
Ok(())