code: Fix clippy warnings

This commit is contained in:
Sophie Herold 2025-01-27 12:38:09 +01:00
parent 0208f40d9d
commit 9a5ec50f66

View file

@ -833,8 +833,8 @@ mod imp {
fn update_apply_crop_visibility(&self) {
self.apply_button.set_visible(
self.obj().is_cropped()
&& !self.selection_in_resize.get().is_some()
&& !self.selection_in_move.get().is_some(),
&& self.selection_in_resize.get().is_none()
&& self.selection_in_move.get().is_none(),
);
}
}