Configure economy window disappears if only headquarter is available
Bug #1732765 reported by
kaputtnik
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
High
|
Unassigned |
Bug Description
Steps to reproduce:
1. Start a new game, e.g. with map Checkmate
2. Click on the flag of the headquarter and open the Configure economy settings
3. Click on the flag of the headquarter again
Result:
The window of configure economy will disappear. Sometimes immediately, sometimes after a short time (1 second or so)
Posted on the forums by LightonMan: https:/
Related branches
lp:~widelands-dev/widelands/add_player_to_note_economy
- GunChleoc: Approve
-
Diff: 302 lines (+61/-69)4 files modifiedsrc/economy/economy.cc (+3/-6)
src/economy/economy.h (+3/-6)
src/wui/economy_options_window.cc (+47/-44)
src/wui/economy_options_window.h (+8/-13)
lp:~widelands-dev/widelands/bug-1732765-economy-refactoring
- Klaus Halfmann: Approve
-
Diff: 1502 lines (+314/-260)26 files modifiedsrc/ai/defaultai.cc (+1/-1)
src/ai/defaultai.h (+1/-1)
src/ai/defaultai_warfare.cc (+2/-2)
src/economy/economy.cc (+19/-18)
src/economy/economy.h (+13/-3)
src/economy/economy_data_packet.cc (+11/-1)
src/economy/economy_data_packet.h (+3/-0)
src/economy/flag.cc (+14/-8)
src/economy/flag.h (+6/-2)
src/game_io/game_player_economies_packet.cc (+30/-36)
src/io/filesystem/filesystem.cc (+6/-7)
src/logic/game.cc (+3/-4)
src/logic/map_objects/tribes/ship.cc (+30/-23)
src/logic/map_objects/tribes/ship.h (+4/-1)
src/logic/player.cc (+45/-35)
src/logic/player.h (+8/-14)
src/logic/playercommand.cc (+8/-8)
src/logic/playercommand.h (+2/-2)
src/logic/widelands.h (+1/-0)
src/map_io/map_flag_packet.cc (+14/-3)
src/scripting/lua_bases.cc (+4/-4)
src/scripting/lua_game.cc (+7/-9)
src/scripting/lua_map.cc (+4/-4)
src/wui/economy_options_window.cc (+57/-50)
src/wui/economy_options_window.h (+14/-9)
src/wui/stock_menu.cc (+7/-15)
tags: | added: regression |
tags: | added: asan |
Changed in widelands: | |
assignee: | nobody → SirVer (sirver) |
status: | Confirmed → In Progress |
Changed in widelands: | |
assignee: | SirVer (sirver) → GunChleoc (gunchleoc) |
Changed in widelands: | |
status: | In Progress → Fix Committed |
assignee: | GunChleoc (gunchleoc) → nobody |
To post a comment you must log in.
I can't reproduce this.