[fractal] explore: Ensure that the search bar is focused
- From: Julian Sparber <jsparber src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [fractal] explore: Ensure that the search bar is focused
- Date: Mon, 9 May 2022 15:09:45 +0000 (UTC)
commit 9486f78f1572b903a4ca50390551c96ee3984632
Author: Ariela Wenner <sunarisunz gmail com>
Date: Mon May 9 15:09:36 2022 +0000
explore: Ensure that the search bar is focused
src/session/content/explore/mod.rs | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/session/content/explore/mod.rs b/src/session/content/explore/mod.rs
index 64744c33d..b39db04d3 100644
--- a/src/session/content/explore/mod.rs
+++ b/src/session/content/explore/mod.rs
@@ -158,6 +158,8 @@ impl Explore {
if let Some(public_room_list) = &*self.imp().public_room_list.borrow() {
public_room_list.load_public_rooms(true);
}
+
+ self.imp().search_entry.grab_focus();
}
pub fn set_session(&self, session: Option<Session>) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]