[#1813] Update previous selection on sim addition/deletion
This commit is contained in:
parent
f723508491
commit
79a2b32d63
@ -275,6 +275,7 @@ public class SimulationPanel extends JPanel {
|
||||
simulationTableModel.fireTableDataChanged();
|
||||
simulationTable.clearSelection();
|
||||
simulationTable.addRowSelectionInterval(n, n);
|
||||
updatePreviousSelection();
|
||||
|
||||
openDialog(false, sim);
|
||||
}
|
||||
@ -347,6 +348,7 @@ public class SimulationPanel extends JPanel {
|
||||
document.removeSimulation(selection[i]);
|
||||
}
|
||||
simulationTableModel.fireTableDataChanged();
|
||||
updatePreviousSelection();
|
||||
takeTheSpotlight();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user