Skip to content

Commit

Permalink
Disable focus on click for sidebar rows
Browse files Browse the repository at this point in the history
  • Loading branch information
nokyan committed Feb 5, 2025
1 parent 9ec046d commit 36df48a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ui/widgets/stack_sidebar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,8 @@ impl ResStackSidebar {

imp.list_box.append(&row);

row.set_focus_on_click(false);

if let Some(visible_page) = imp.stack.borrow().visible_child() {
if visible_page == page.child() {
imp.list_box.select_row(Some(&row));
Expand Down

0 comments on commit 36df48a

Please sign in to comment.