Ticket #44140

Ruledit: Inconsistent initial state of same_name toggles

Date d'ouverture: 2022-03-18 02:34 Dernière mise à jour: 2022-04-16 10:10

Rapporteur:
Propriétaire:
Type:
État:
Atteints
Composant:
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Fixed
Fichier:
2

Détails

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 History (3/6 Histories)

2022-03-18 02:34 Updated by: cazfi
  • New Ticket "Ruledit: Inconsistent initial state of same_name toggles" created
2022-03-26 18:07 Updated by: cazfi
2022-04-08 02:42 Updated by: cazfi
  • Propriétaire Update from (Aucun) to cazfi
  • Résolution Update from Aucun to Accepted
2022-04-16 10:10 Updated by: cazfi
  • État Update from Ouvert to Atteints
  • Résolution Update from Accepted to Fixed

Modifier

Please login to add comment to this ticket » Connexion