Skip to content

Commit

Permalink
Fix braces on if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
jvogt23 committed Jan 27, 2025
1 parent bd5bff0 commit a217a0e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions soccer/src/soccer/ui/main_window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1053,10 +1053,11 @@ void MainWindow::on_goalieID_currentIndexChanged(int value) {
bool goalieNumIsInt{false};
int goalieInt = goalieNum.toInt(&goalieNumIsInt);
current_goalie_num_ = goalieInt;
if (goalieNumIsInt)
if (goalieNumIsInt) {
setGoalieDropdown(goalieInt);
else
} else {
setGoalieDropdown(-1);
}
}

////////////////
Expand Down

0 comments on commit a217a0e

Please sign in to comment.