Skip to content

Commit

Permalink
Merge pull request CleverRaven#71824 from gtim/default-active-mutations
Browse files Browse the repository at this point in the history
Mutations list selector starts in the active column
  • Loading branch information
Maleclypse authored Feb 19, 2024
2 parents 5d4bd58 + 90ef683 commit 3535ff7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/mutation_ui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,10 @@ void avatar::power_mutations()
int half_list_view_location = 0;
mutation_menu_mode menu_mode = mutation_menu_mode::activating;
mutation_tab_mode tab_mode;
if( !passive.empty() ) {
tab_mode = mutation_tab_mode::passive;
} else if( !active.empty() ) {
if( !active.empty() ) {
tab_mode = mutation_tab_mode::active;
} else if( !passive.empty() ) {
tab_mode = mutation_tab_mode::passive;
} else {
tab_mode = mutation_tab_mode::none;
}
Expand Down

0 comments on commit 3535ff7

Please sign in to comment.