[#1681] Fix sim table spotlight when no simulations
This commit is contained in:
parent
ac03049277
commit
baa841818c
@ -1006,7 +1006,7 @@ public class SimulationPanel extends JPanel {
|
||||
*/
|
||||
public void takeTheSpotlight() {
|
||||
simulationTable.requestFocusInWindow();
|
||||
if (simulationTable.getSelectedRows().length > 0) {
|
||||
if (simulationTable.getRowCount() == 0 || simulationTable.getSelectedRows().length > 0) {
|
||||
return;
|
||||
}
|
||||
if (previousSelection == null || previousSelection.length == 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user