MantisBT - VCMI
View Issue Details
0002172VCMIGUI - Otherpublic2015-04-05 20:142017-07-15 09:35
Povelitel 
Dydzio 
highfeaturehave not tried
closedfixed 
0.98 
0.99 
0002172: Stack upgrade button: feedback required when player can't afford update
AB. mission 2. Rust Dragons.

I take unit (gorgules) previously mission, build them in tower and try them uprgrade, but i can't do it.
No tags attached.
rar no upgrdae.rar (830,496) 2015-04-05 20:14
https://bugs.vcmi.eu/file_download.php?file_id=2212&type=bug
Issue History
2015-04-05 20:14PovelitelNew Issue
2015-04-05 20:14PovelitelFile Added: no upgrdae.rar
2015-12-29 10:49SXXSeverityminor => feature
2015-12-29 10:49SXXStatusnew => confirmed
2015-12-29 10:49SXXSummaryI can't upgrade unit => Stack upgrade button: feedback required when player can't afford update
2015-12-29 10:50SXXNote Added: 0006237
2015-12-29 10:50SXXCategoryCampaigns => GUI - Other
2015-12-29 10:51SXXNote Edited: 0006237bug_revision_view_page.php?bugnote_id=6237#r3083
2015-12-29 11:56SXXPrioritynormal => high
2015-12-30 01:07SXXNote Edited: 0006237bug_revision_view_page.php?bugnote_id=6237#r3084
2016-09-30 17:45DydzioAssigned To => Dydzio
2016-09-30 17:45DydzioStatusconfirmed => assigned
2016-09-30 19:43SXXNote Added: 0006787
2016-09-30 19:43SXXStatusassigned => resolved
2016-09-30 19:43SXXFixed in Version => 0.99
2016-09-30 19:43SXXResolutionopen => fixed
2017-07-15 09:35PovelitelStatusresolved => closed

Notes
(0006237)
SXX   
2015-12-29 10:50   
(edited on: 2015-12-30 01:07)
Checked save and updated description. Current problem is that upgrade button is simply blocked when player can't afford upgrade which is really confusing.

What we need there is upgrade dialog to appear, but with blocked "Yes" button and probably some text about insufficient resource amount.

Code need fixing is CStackWindow::CWindowSection::createButtonPanel.

(0006787)
SXX   
2016-09-30 19:43   
Fixed in PR225:
https://github.com/vcmi/vcmi/pull/225 [^]