The International Simutrans Forum

 

Author Topic: Shortcut key to previously selected ways may not change the selected tool icon  (Read 308 times)

0 Members and 1 Guest are viewing this topic.

Offline Ranran

  • Devotee
  • *
  • Posts: 1507
  • Languages: ja
Reproduction procedure:

(1) Lay the road from the road tool
(2) Click another way icon in the same waytype(road tool) bar
(3) Press the "s" key (shortcut key for the road previously laid)
(4) The selected tool icon in the toolbar is (2), but the cursor changes to that of (1). When laid, the road of (1) will be laid.

This bug can be reproduced with either standard or extended.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4870
  • Languages: EN, DE, AT
The question is, which kind of road should be activated by "s" key: the road last used for building [(1) in your post] or the last selected road [(2) in your post]? I would expect (1), but the logic around this is broken.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4870
  • Languages: EN, DE, AT
should be fixed in r9600.

Offline Ranran

  • Devotee
  • *
  • Posts: 1507
  • Languages: ja
I can confirm that this has been fixed.
Thank you for fixing it.