egui: fix remaining compile error

This commit is contained in:
Tomasz Cichoń 2024-10-02 17:31:09 +02:00
parent cbe9d8fc1c
commit c9509d8336
1 changed files with 2 additions and 2 deletions

View File

@ -170,9 +170,9 @@ impl App {
false
}
fn load_specctra_dsn(
fn load_specctra_dsn<I: std::io::BufRead>(
&mut self,
input: std::io::Result<std::io::BufReader<std::fs::File>>,
input: std::io::Result<I>,
) -> Result<(), String> {
let tr = &self.translator;
let bufread = input.map_err(|err| format!("{}; {}", tr.text("error-file-load"), err))?;