Also copy sim data to clipboard on rocket action
This commit is contained in:
parent
e3a9786551
commit
bb3c72e210
@ -754,6 +754,7 @@ public class RocketActions {
|
|||||||
}
|
}
|
||||||
|
|
||||||
OpenRocketClipboard.setClipboard(simsCopy);
|
OpenRocketClipboard.setClipboard(simsCopy);
|
||||||
|
simulationPanel.copySimulationValuesAction();
|
||||||
parentFrame.selectTab(BasicFrame.SIMULATION_TAB);
|
parentFrame.selectTab(BasicFrame.SIMULATION_TAB);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -484,7 +484,7 @@ public class SimulationPanel extends JPanel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private void copySimulationValuesAction() {
|
public void copySimulationValuesAction() {
|
||||||
int numCols = simulationTable.getColumnCount();
|
int numCols = simulationTable.getColumnCount();
|
||||||
int numRows = simulationTable.getSelectedRowCount();
|
int numRows = simulationTable.getSelectedRowCount();
|
||||||
int[] rowsSelected = simulationTable.getSelectedRows();
|
int[] rowsSelected = simulationTable.getSelectedRows();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user