Skip to content

Commit

Permalink
fix: Make Tuba.Widgets.Avatar non-focusable in sidebar (#729)
Browse files Browse the repository at this point in the history
Make Tuba.Widgets.Avatar non-focusable when used as a child button
of accounts selector, to prevent it from being selected during
tab-cycling.  Otherwise, it is cycled duplicate to the selector itself.
  • Loading branch information
mgorny committed Jan 1, 2024
1 parent 4055a41 commit aed1b1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions data/ui/views/sidebar/view.ui
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
<property name="popover">account_switcher_popover_menu</property>
<child>
<object class="TubaWidgetsAvatar" id="accounts_button_avi">
<property name="can_focus">false</property>
<property name="size">26</property>
</object>
</child>
Expand Down

0 comments on commit aed1b1d

Please sign in to comment.