[Freeciv-tickets] [freeciv] #44140: Ruledit: Inconsistent initial state of same_name toggles

Zurück zum Archiv-Index
OSDN Ticket System norep****@osdn*****
Fri Mar 18 02:34:52 JST 2022


#44140: Ruledit: Inconsistent initial state of same_name toggles

  Open Date: 2022-03-17 19:34
Last Update: 2022-03-17 19:34

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/44140
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44140

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2022-03-17 19:34 Updated by: cazfi
 * New Ticket "Ruledit: Inconsistent initial state of same_name toggles" created


---------------------------------------------------------------------
Ticket Status:

      Reporter: cazfi
         Owner: (None)
          Type: Patches
        Status: Open
      Priority: 5 - Medium
     MileStone: (None)
     Component: Ruledit
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

Initially, when no item is selected (i.e. both rule_name and name are "None") same_name toggle is checked in tech tab, but not in other tabs. I think it should (as it should be the default).
In the code, the difference between techs and at least terrains tab seems to be that techs call update_tech_info() in the end of the constructor, while terrains does not call update_terrain_info(). Those update_*_info() methods set same_name toggled in case of no-item-selected. There might be other functionality in update_*_info() that should be executed in the constructor.

-- 
Ticket information of Freeciv project
Freeciv Project is hosted on OSDN

Project URL: https://osdn.net/projects/freeciv/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/freeciv/ticket/44140
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44140



More information about the Freeciv-tickets mailing list
Zurück zum Archiv-Index