mirror of
https://github.com/timvisee/ffsend.git
synced 2025-10-05 18:24:18 +02:00
Prompt 'no history' message when no history file exists
This commit is contained in:
parent
5c6efffe4f
commit
f2336467a2
2 changed files with 2 additions and 1 deletions
|
@ -43,6 +43,7 @@ impl<'a> History<'a> {
|
|||
// Get the history path, make sure it exists
|
||||
let history_path = matcher_main.history();
|
||||
if !history_path.is_file() {
|
||||
println!("No files in history");
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue