code: Fix clippy warnings
This commit is contained in:
parent
1d034cd53d
commit
19c8d69dca
2 changed files with 4 additions and 6 deletions
|
|
@ -412,10 +412,8 @@ impl LpImageView {
|
|||
}
|
||||
|
||||
if let Some(current_path) = self.current_path() {
|
||||
if self.model().contains(¤t_path) {
|
||||
if !self.imp().preserve_content.get() {
|
||||
self.update_sliding_view(¤t_path);
|
||||
}
|
||||
if self.model().contains(¤t_path) && !self.imp().preserve_content.get() {
|
||||
self.update_sliding_view(¤t_path);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue