edit_window: Handle CancellableFuture errors
Ignore the cancellation and instead check for actual errors inside an uncanceled operation.
This commit is contained in:
parent
a042bad7e6
commit
828306c206
4 changed files with 48 additions and 25 deletions
|
|
@ -248,7 +248,7 @@ impl LpWindow {
|
|||
}
|
||||
|
||||
pub fn show_specific_image(&self, file: gio::File) {
|
||||
log::debug!("Showting specific image: {}", file.uri());
|
||||
log::debug!("Showing specific image: {}", file.uri());
|
||||
self.image_view().set_images_from_files(vec![file]);
|
||||
self.show_image();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue