Action window of Road stays open under some circumstance
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
High
|
Unassigned |
Bug Description
I think this is a regression, because in build19 this never happens:
1. Start building a road
2. Try to connect to a flag where connecting is not possible (e.g. all 6 directions are already used), or click to an unreachable place (e.g. a tree) -> The action window of road is opened showing 'Build Road' and 'Cancel Road' buttons
3. Don't close the action window, instead immediately click on a flag where it is possible to connect the road with
Result: The action window of road stays open. This happens only if the road get immediately connected to a flag. If you click on another place where the road could be build, the action window get closed.
This happens regardless of setting "Start build Road after placing a flag" is turned on or off
In build 19 the action window get automatically closed every time a road get successfully connected.
Related branches
- SirVer: Approve
- kaputtnik (community): Approve (testing)
-
Diff: 143 lines (+16/-20)1 file modifiedsrc/wui/fieldaction.cc (+16/-20)
tags: | added: ui |
Changed in widelands: | |
importance: | Undecided → High |
milestone: | none → build20-rc1 |
Changed in widelands: | |
status: | In Progress → Fix Committed |
Changed in widelands: | |
assignee: | GunChleoc (gunchleoc) → nobody |
Caused by the following commit: http:// bazaar. launchpad. net/~widelands- dev/widelands/ trunk/revision/ 8206