Skip to content

Commit

Permalink
Use var
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Wootten committed Jan 23, 2024
1 parent b83d86f commit 036f5a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Widgets/ChooseProjectButton.vala
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public class Code.ChooseProjectButton : Gtk.MenuButton {
project_listbox.row_activated.connect ((row) => {
var project_entry = ((ProjectRow) row);
int index = 0;
ProjectRow project_row = ((ProjectRow)(project_listbox.get_row_at_index (index++)));
var project_row = ((ProjectRow)(project_listbox.get_row_at_index (index++)));
while (project_row != null) {
project_row.active = false;
project_row = ((ProjectRow)(project_listbox.get_row_at_index (index++)));
Expand Down

0 comments on commit 036f5a3

Please sign in to comment.