Tíquete #44140

Ruledit: Inconsistent initial state of same_name toggles

: 2022-03-18 02:34 Última Atualização: 2022-04-16 10:10

Relator:
Dono:
Tipo:
Estado:
Fechado
Componente:
Marcos:
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Fixed
Arquivo:
2

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 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
  • Dono Update from (Nenhum) to cazfi
  • Resolução Update from Nenhum to Accepted
2022-04-16 10:10 Updated by: cazfi
  • Estado Update from Aberto to Fechado
  • Resolução Update from Accepted to Fixed

Editar

Please login to add comment to this ticket » Login