Skip to content

Commit

Permalink
Fix showing commands menu button if there is only one item present
Browse files Browse the repository at this point in the history
  • Loading branch information
ztefn committed Oct 30, 2024
1 parent 51f555a commit b1437c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sidebar.vala
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ namespace Haguichi {
private void set_member_command_menubutton_visible () {
member_command_menubutton.visible = member != null &&
member.status.status_int != 3 &&
Command.get_commands_menu ().get_n_items () > 1;
Command.get_commands_menu ().get_n_items () > 0;
}

private void set_version () {
Expand Down

0 comments on commit b1437c5

Please sign in to comment.