1.14 Recall dialog scrollbar not at top

Having trouble with the game? Report issues and get help here. Read this first!

Moderators: Forum Moderators, Developers

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
User avatar
josteph
Developer
Posts: 336
Joined: August 19th, 2017, 6:58 pm

1.14 Recall dialog scrollbar not at top

Post by josteph » May 20th, 2018, 6:26 pm

1.14 from git, Linux, English, savegame attached

When I open the 'Recall' dialog during a campaign, the scrollbar position isn't at the very top of the list, like it was in 1.12, but scrolled to the unit that would be first if the list of units were shown unsorted. Is it possible to restore the 1.12 behavior?

I can sorta get the behavior I want by adding list.select_row_at(0) to the end of unit_recall::pre_show() but maybe there's a better way.
Attachments
AToTB-The_Chase-Auto-Save1.gz
(27.04 KiB) Downloaded 74 times
Fund my work on wesnoth, including but not limited to my add-ons: Invisible Enemies | Random Recruits

User avatar
vultraz
Community Manager
Posts: 940
Joined: February 7th, 2011, 12:51 pm
Location: Dodging Daleks

Re: 1.14 Recall dialog scrollbar not at top

Post by vultraz » May 20th, 2018, 11:37 pm

Small oversight on my part. Fixed.. Thanks for reporting!
Creator of Shadows of Deception (for 1.12) and co-creator of the Era of Chaos (for 1.12/1.13).
SurvivalXtreme rocks!!!
What happens when you get scared half to death...twice?

Post Reply