Match focus discovery operation to installed Iced trait
This commit is contained in:
@@ -28,7 +28,7 @@ pub(crate) fn focus_query(token: Id) -> iced::Task<Message> {
|
||||
) {
|
||||
self.present |= id == Some(&self.target);
|
||||
}
|
||||
fn finish(&mut self) -> operation::Outcome<()> {
|
||||
fn finish(&self) -> operation::Outcome<()> {
|
||||
if self.present {
|
||||
operation::Outcome::Chain(Box::new(operation::focusable::focus(
|
||||
self.target.clone(),
|
||||
|
||||
Reference in New Issue
Block a user