rakhimov / scram

Probabilistic Risk Analysis Tool (fault tree analysis, event tree analysis, etc.)
https://scram-pra.org
GNU General Public License v3.0
133 stars 54 forks source link

GUI: GateTable: "Remove Element" is active w/o selected element #241

Closed rakhimov closed 6 years ago

rakhimov commented 6 years ago

Unlike other tables, Gate tree-table doesn't automatically select next elements if the currently selected element is removed/moved, but "Remove element" action stays active. This leads to assertion error if "Remove element" action is activated without a selected element in the gate table.