Skip to content

Commit

Permalink
Add popdown* functions to top bar
Browse files Browse the repository at this point in the history
  • Loading branch information
jwrober authored and lmoureaux committed Feb 21, 2023
1 parent 7b77d85 commit f985113
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions client/top_bar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
#include "tileset/sprite.h"
#include "top_bar.h"
#include "views/view_map.h"
#include "views/view_economics.h"
#include "views/view_nations.h"
#include "views/view_research.h"
#include "views/view_units.h"

Expand Down Expand Up @@ -447,7 +449,11 @@ void top_bar::addWidget(QWidget *fsw)
*/
void top_bar_show_map()
{
popdown_units_view();
popdown_city_dialog();
popdown_players_report();
popdown_economy_report();
popdown_science_report();
queen()->game_tab_widget->setCurrentIndex(0);
}

Expand Down

0 comments on commit f985113

Please sign in to comment.