window: Allow to delete non-native image files
Only check if there is a path. With testing for native the deletion in SMB etc is not possible that we support properly.
This commit is contained in:
parent
042328c208
commit
f97b878b7a
1 changed files with 1 additions and 1 deletions
|
|
@ -691,7 +691,7 @@ impl LpWindow {
|
|||
"win.trash",
|
||||
imp.image_view
|
||||
.current_file()
|
||||
.is_some_and(|file| file.is_native()),
|
||||
.is_some_and(|file| file.path().is_some()),
|
||||
);
|
||||
|
||||
if shows_image {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue