.
Some checks failed
Rust / build (ubuntu-latest, stable) (push) Failing after 5m17s
Some checks failed
Rust / build (ubuntu-latest, stable) (push) Failing after 5m17s
This commit is contained in:
@@ -152,6 +152,7 @@ where
|
||||
}
|
||||
|
||||
/// Return true if either the list or the search input is focused.
|
||||
#[allow(dead_code)]
|
||||
pub(crate) fn is_focused(&self, window: &Window, cx: &App) -> bool {
|
||||
self.focus_handle.is_focused(window) || self.query_input.focus_handle(cx).is_focused(window)
|
||||
}
|
||||
@@ -330,6 +331,7 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub(crate) fn reset_on_cancel(mut self, reset: bool) -> Self {
|
||||
self.reset_on_cancel = reset;
|
||||
self
|
||||
|
||||
Reference in New Issue
Block a user