Skip to content

Commit

Permalink
Call the new method to update units
Browse files Browse the repository at this point in the history
If the units view is reopened after it has already been opened once,
call the newly created method to update the units table.

Fixes longturn#2399.
  • Loading branch information
blabber committed Sep 30, 2024
1 parent 86fb0a4 commit ba1f010
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/top_bar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,7 @@ void top_bar_units_view()
return;
}
uv = reinterpret_cast<units_view *>(w);
uv->update_units();
queen()->game_tab_widget->setCurrentWidget(uv);
}
}

0 comments on commit ba1f010

Please sign in to comment.