Show "increase/decrease capacity" buttons only in "soldiers" tab
Bug #902823 reported by
Angelo Locritani
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Low
|
Unassigned |
Bug Description
At the moment the "increase/decrease capacity" buttons are on the same line of start/stop, dismantle, destroy buttons, that seems to be like a footnote of the building info window. These buttons are always displayed, regardless the tab you currently are in.
This way, for multi-tab building, like trainingsites, you can change capacity without even seen the current value.
My suggestion is to move these 2 buttons in the "soldiers" tab.
Related branches
lp:~alocritani/widelands/bug902823
- Widelands Developers: Pending requested
-
Diff: 59 lines (+10/-10)3 files modifiedsrc/wui/militarysitewindow.cc (+0/-5)
src/wui/soldierlist.cc (+10/-0)
src/wui/trainingsitewindow.cc (+0/-5)
Changed in widelands: | |
milestone: | none → build17-rc1 |
To post a comment you must log in.
These control make little to no sense without the feedback showing how many spaces are available. I think it would make sense to move these to only show them on the soldiers tab.